diff options
author | unknown <knielsen@mysql.com> | 2005-12-13 11:42:10 +0100 |
---|---|---|
committer | unknown <knielsen@mysql.com> | 2005-12-13 11:42:10 +0100 |
commit | 47ed572f3f022416faafa725f14c2f4fac53eaca (patch) | |
tree | 932a57296e54d23a829d67b1087362296f12227d /mysql-test | |
parent | 63a2714451e01395e2c21949e07447da59805ed6 (diff) | |
download | mariadb-git-47ed572f3f022416faafa725f14c2f4fac53eaca.tar.gz |
BUG#15624: Use --real_sleep in rpl_deadlock.test to avoid breaking when run with --sleep.
mysql-test/t/rpl_deadlock.test:
BUG#15624: Use --real_sleep to avoid breaking when run with --sleep.
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/t/rpl_deadlock.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/t/rpl_deadlock.test b/mysql-test/t/rpl_deadlock.test index 08921caf897..c74ed989ece 100644 --- a/mysql-test/t/rpl_deadlock.test +++ b/mysql-test/t/rpl_deadlock.test @@ -58,7 +58,7 @@ while ($1) enable_query_log; select * from t1 for update; start slave; ---sleep 3 # hope that slave is blocked now +--real_sleep 3 # hope that slave is blocked now insert into t2 values(22); # provoke deadlock, slave should be victim commit; sync_with_master; @@ -76,7 +76,7 @@ change master to master_log_pos=532; # the BEGIN log event begin; select * from t2 for update; # hold lock start slave; ---sleep 10 # slave should have blocked, and be retrying +--real_sleep 10 # slave should have blocked, and be retrying commit; sync_with_master; select * from t1; # check that slave succeeded finally @@ -97,7 +97,7 @@ change master to master_log_pos=532; begin; select * from t2 for update; start slave; ---sleep 10 +--real_sleep 10 commit; sync_with_master; select * from t1; |