• Sven Sandberg's avatar
    BUG#37933: Test "rpl_insert" fails - timing problem in replication test ? · db674c9f
    Sven Sandberg authored
    Problem: the test syncs slave by a 'wait_condition' waiting until
    table t1 has 5000 rows. However, there is no guarantee that t1
    makes it to the slave before the wait_condition.
    Fix: sync_slave_with_master just after t1 was created.
    
    
    mysql-test/suite/rpl/t/rpl_insert.test:
      Added sync_slave_with_master to ensure that table t1 is on
      slave before the slave executes wait_condition.
    db674c9f
rpl_insert.test 1.13 KB