summaryrefslogtreecommitdiff
path: root/mysql-test/extra/rpl_tests/rpl_start_stop_slave.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/extra/rpl_tests/rpl_start_stop_slave.test')
-rw-r--r--mysql-test/extra/rpl_tests/rpl_start_stop_slave.test6
1 files changed, 2 insertions, 4 deletions
diff --git a/mysql-test/extra/rpl_tests/rpl_start_stop_slave.test b/mysql-test/extra/rpl_tests/rpl_start_stop_slave.test
index 4029a628e04..e548e691429 100644
--- a/mysql-test/extra/rpl_tests/rpl_start_stop_slave.test
+++ b/mysql-test/extra/rpl_tests/rpl_start_stop_slave.test
@@ -13,6 +13,7 @@ connection master;
create table t1(n int);
sync_slave_with_master;
stop slave;
+--source include/wait_for_slave_to_stop.inc
connection master;
let $1=5000;
disable_query_log;
@@ -35,10 +36,7 @@ sync_with_master;
connection master;
drop table t1;
-save_master_pos;
-
-connection slave;
-sync_with_master;
+sync_slave_with_master;
#