MDEV-15238 rpl.perf_buildin_semisync_issue40 sporadically fails on BB

The test was used to result in mismatch due to unaccounted specifics
of the master-slave handshake protocol that sets the Slave_IO_Running
status to true while the semisync master status is set to active a bit later.

The test is refined to expect that.
This commit is contained in:
Andrei Elkin 2018-02-07 19:56:16 +02:00
parent 029ab11cc8
commit 7bcf5e2907
4 changed files with 4 additions and 0 deletions

View File

@ -210,6 +210,10 @@ START SLAVE IO_THREAD;
--source include/wait_for_slave_io_to_start.inc
connection con1;
--let $status_var= Rpl_semi_sync_master_status
--let $status_var_value=ON
--source include/wait_for_status_var.inc
SET GLOBAL rpl_semi_sync_master_timeout= 10000000;
SET GLOBAL rpl_semi_sync_master_wait_no_slave= 1;
INSERT INTO t1 values (4);