summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000015.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/rpl000015.test')
-rw-r--r--mysql-test/t/rpl000015.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/rpl000015.test b/mysql-test/t/rpl000015.test
index db5b3c720b2..ce04b18d2e8 100644
--- a/mysql-test/t/rpl000015.test
+++ b/mysql-test/t/rpl000015.test
@@ -4,6 +4,7 @@ source include/have_default_master.inc;
connection master;
reset master;
show master status;
+save_master_pos;
connection slave;
reset slave;
show slave status;
@@ -13,7 +14,7 @@ change master to master_host='127.0.0.1',master_user='root',
master_password='',master_port=9306;
show slave status;
slave start;
-sleep 3;
+sync_with_master;
show slave status;
connection master;
drop table if exists foo;
@@ -22,7 +23,6 @@ insert into foo values (10),(45),(90);
save_master_pos;
connection slave;
sync_with_master;
-sleep 1;
select * from foo;
connection master;
drop table foo;