Commit a878344e authored by Jan Lindström's avatar Jan Lindström

MDEV-21421 : Galera test sporadic failure on...

MDEV-21421 : Galera test sporadic failure on galera.galera_as_slave_gtid_myisam: Result length mismatch

Add wait_condition so that drop table has time to replicate to
Galera cluster.
parent 057a700a
......@@ -28,7 +28,10 @@ gtid_binlog_state_equal
#cleanup
connection node_3;
DROP TABLE t1;
reset master;
connection node_1;
connection node_2;
connection node_3;
RESET MASTER;
connection node_1;
STOP SLAVE;
RESET SLAVE ALL;
......
......@@ -58,7 +58,17 @@ SELECT COUNT(*) AS EXPECT_0 FROM t1;
--echo #cleanup
--connection node_3
DROP TABLE t1;
reset master;
--connection node_1
--let $wait_condition = SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
--source include/wait_condition.inc
--connection node_2
--let $wait_condition = SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
--source include/wait_condition.inc
--connection node_3
RESET MASTER;
--connection node_1
STOP SLAVE;
......
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