Commit d95fa7e3 authored by Kristian Nielsen's avatar Kristian Nielsen

MDEV-32168: slave_error_param condition is never checked from the wait_for_slave_param.inc

Fix a start/stop race that causes occasional test failure after more the more
strict error check of MDEV-32168.
Signed-off-by: default avatarKristian Nielsen <knielsen@knielsen-hq.org>
parent c42aadc3
......@@ -51,7 +51,9 @@ ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UN
START SLAVE UNTIL RELAY_LOG_FILE='slave-relay-bin.000002', MASTER_LOG_POS=MASTER_LOG_POS;
ERROR HY000: Incorrect parameter or combination of parameters for START SLAVE UNTIL
START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=MASTER_LOG_POS;
include/stop_slave.inc
include/wait_for_slave_io_to_start.inc
include/wait_for_slave_sql_to_stop.inc
include/stop_slave_io.inc
RESET SLAVE;
include/start_slave.inc
include/rpl_reset.inc
......
......@@ -101,7 +101,12 @@ START SLAVE UNTIL RELAY_LOG_FILE='slave-relay-bin.000002', MASTER_LOG_POS=561;
--replace_result 740 MASTER_LOG_POS
START SLAVE UNTIL MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=740;
--source include/stop_slave.inc
# Explicit wait for slave thread start and then stop. Otherwise the STOP SLAVE
# command can abort the slave connecting to the master, and an error state
# left which makes stop_slave.inc throw an error.
--source include/wait_for_slave_io_to_start.inc
--source include/wait_for_slave_sql_to_stop.inc
--source include/stop_slave_io.inc
RESET SLAVE;
--source include/start_slave.inc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment