diff --git a/mysql-test/suite/multi_source/connects_tried.result b/mysql-test/suite/multi_source/connects_tried.result index fa92b572b4c..5fb686794c8 100644 --- a/mysql-test/suite/multi_source/connects_tried.result +++ b/mysql-test/suite/multi_source/connects_tried.result @@ -10,8 +10,8 @@ SELECT Connection_name, Connects_Tried FROM information_schema.SLAVE_STATUS; Connection_name Connects_Tried 0 named 0 -START ALL SLAVES; SET @time_begin= CURRENT_TIMESTAMP(1); +START ALL SLAVES; SET @@SESSION.default_master_connection= 'named'; include/wait_for_slave_io_error.inc [errno=2003] SET @@SESSION.default_master_connection= ''; diff --git a/mysql-test/suite/multi_source/connects_tried.test b/mysql-test/suite/multi_source/connects_tried.test index f8a014a5180..95dbb44274f 100644 --- a/mysql-test/suite/multi_source/connects_tried.test +++ b/mysql-test/suite/multi_source/connects_tried.test @@ -24,8 +24,8 @@ CHANGE MASTER TO master_connect_retry=2; SELECT Connection_name, Connects_Tried FROM information_schema.SLAVE_STATUS; --disable_warnings -START ALL SLAVES; # will fail because the masters are down SET @time_begin= CURRENT_TIMESTAMP(1); +START ALL SLAVES; # will fail because the masters are down --enable_warnings # CR_CONN_HOST_ERROR --let $slave_io_errno= 2003