Commit dfabe1ed authored by unknown's avatar unknown

Fixed race conditions in rpl_multi_update and rpl_multi_delete tests which

caused spurious test failures.


mysql-test/t/rpl_multi_delete.test:
  Fixed race condition in test that caused spurious test failure.
  To have predictable result from statements which are run on slave we
  need to sync master and slave explicitly.
mysql-test/t/rpl_multi_update.test:
  Fixed race condition in test that caused spurious test failure.
  To have predictable result from statements which are run on slave we
  need to sync master and slave explicitly.
parent 125f5a79
......@@ -24,7 +24,7 @@ connection master;
delete from t1;
delete from t2;
connection slave;
sync_slave_with_master;
# force a difference to see if master's multi-DELETE will correct it
insert into t1 values(1);
insert into t2 values(1);
......
......@@ -33,7 +33,7 @@ delete from t2;
insert into t1 values(1,1);
insert into t2 values(1,1);
connection slave;
sync_slave_with_master;
# force a difference to see if master's multi-UPDATE will correct it
update t1 set a=2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment