summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_change_master.test
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2003-11-23 21:03:10 +0200
committerunknown <monty@mysql.com>2003-11-23 21:03:10 +0200
commitc61d96d5baf8bb1d11502552a24cfca743e41419 (patch)
tree2060d651b69d72e1e53f4a989ed73493e8390623 /mysql-test/t/rpl_change_master.test
parenta71285a7b3bf7de924b210122a0ecdcfed9cb779 (diff)
downloadmariadb-git-c61d96d5baf8bb1d11502552a24cfca743e41419.tar.gz
Fix test for binary builds
mysql-test/r/rpl_change_master.result: Updated results
Diffstat (limited to 'mysql-test/t/rpl_change_master.test')
-rw-r--r--mysql-test/t/rpl_change_master.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/mysql-test/t/rpl_change_master.test b/mysql-test/t/rpl_change_master.test
index 61de22fe57b..a13e045cf48 100644
--- a/mysql-test/t/rpl_change_master.test
+++ b/mysql-test/t/rpl_change_master.test
@@ -4,15 +4,17 @@ connection slave;
select get_lock("a",5);
connection master;
create table t1(n int);
-insert into t1 values(1+get_lock("a",10)*0);
+insert into t1 values(1+get_lock("a",15)*0);
insert into t1 values(2);
save_master_pos;
connection slave;
-sleep 3; # can't sync_with_master as we should be blocked
+--real_sleep 3; # can't sync_with_master as we should be blocked
stop slave;
select * from t1;
+--replace_result $MASTER_MYPORT MASTER_MYPORT
show slave status;
change master to master_user='root';
+--replace_result $MASTER_MYPORT MASTER_MYPORT
show slave status;
# Will restart from after the values(2), which is bug
select release_lock("a");