summaryrefslogtreecommitdiff
path: root/mysql-test/suite/multi_source
diff options
context:
space:
mode:
authorElena Stepanova <elenst@gmail.com>2013-04-15 04:13:26 +0400
committerElena Stepanova <elenst@gmail.com>2013-04-15 04:13:26 +0400
commit491047a24714be57409e42656057e56f99c65513 (patch)
tree934e9b4cab76bfa2a08a45759760661c8dcf8501 /mysql-test/suite/multi_source
parentf6d2bb168a0825efcb8d4fb9e1b98c07a7b23b41 (diff)
downloadmariadb-git-491047a24714be57409e42656057e56f99c65513.tar.gz
MDEV-4394 Part IIa (missing wait condition for IO thread status in info_logs)
Diffstat (limited to 'mysql-test/suite/multi_source')
-rw-r--r--mysql-test/suite/multi_source/info_logs.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/suite/multi_source/info_logs.test b/mysql-test/suite/multi_source/info_logs.test
index 4e9a4028b93..569af8bd4a3 100644
--- a/mysql-test/suite/multi_source/info_logs.test
+++ b/mysql-test/suite/multi_source/info_logs.test
@@ -130,6 +130,13 @@ start slave;
--echo # EOF
--echo #
+let $wait_for_all= 1;
+let $show_statement= SHOW ALL SLAVES STATUS;
+let $field= Slave_IO_State;
+let $condition= = 'Waiting for master to send event';
+--source include/wait_show_condition.inc
+
+
--replace_result $SERVER_MYPORT_1 MYPORT_1 $SERVER_MYPORT_2 MYPORT_2
show all slaves status;
@@ -146,6 +153,13 @@ set default_master_connection = 'MASTER 2.2';
--source include/wait_for_slave_to_start.inc
set default_master_connection = '';
+let $wait_for_all= 1;
+let $show_statement= SHOW ALL SLAVES STATUS;
+let $field= Slave_IO_State;
+let $condition= = 'Waiting for master to send event';
+--source include/wait_show_condition.inc
+
+
--replace_result $SERVER_MYPORT_1 MYPORT_1 $SERVER_MYPORT_2 MYPORT_2
show all slaves status;