#At file:///home/ksm/sun/repo/bug40142/mysql-6.0-rpl/ based on revid:alfranio.correia@stripped
2747 Serge Kozlov 2008-12-08
Bug#40142: possible reason of timeout is stopped slave threads before sync_with_master
command. The patch add waiting of proper state of slave before sync with master.
modified:
mysql-test/suite/rpl/t/rpl_start_stop_slave.test
=== modified file 'mysql-test/suite/rpl/t/rpl_start_stop_slave.test'
--- a/mysql-test/suite/rpl/t/rpl_start_stop_slave.test 2008-06-22 20:05:19 +0000
+++ b/mysql-test/suite/rpl/t/rpl_start_stop_slave.test 2008-12-07 22:03:56 +0000
@@ -26,6 +26,7 @@ let $wait_condition= SELECT COUNT(*) > 0
source include/wait_condition.inc;
stop slave io_thread;
start slave io_thread;
+source include/wait_for_slave_to_start.inc;
sync_with_master;
connection master;