From 755bcd99c0520e6e3ed1ac51726ec32c87553ea2 Mon Sep 17 00:00:00 2001 From: Serge Kozlov Date: Fri, 12 Dec 2008 14:25:36 +0300 Subject: [PATCH] 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. --- mysql-test/suite/rpl/t/rpl_start_stop_slave.test | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql-test/suite/rpl/t/rpl_start_stop_slave.test b/mysql-test/suite/rpl/t/rpl_start_stop_slave.test index 93c613f4cf4..dbf0775c978 100644 --- a/mysql-test/suite/rpl/t/rpl_start_stop_slave.test +++ b/mysql-test/suite/rpl/t/rpl_start_stop_slave.test @@ -25,6 +25,7 @@ let $wait_condition= SELECT COUNT(*) > 0 FROM t1; 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;