1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-28 17:36:30 +03:00

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.
This commit is contained in:
Jan Lindström
2020-05-08 09:13:47 +03:00
parent 0dee57c6f5
commit 40d0b64167
2 changed files with 13 additions and 0 deletions

View File

@@ -23,6 +23,9 @@ gtid_binlog_state_equal
#cleanup #cleanup
connection node_1; connection node_1;
DROP TABLE t1; DROP TABLE t1;
connection node_2;
connection node_3;
connection node_1;
reset master; reset master;
connection node_2; connection node_2;
STOP SLAVE; STOP SLAVE;

View File

@@ -55,6 +55,16 @@ SELECT COUNT(*) = 0 FROM t1;
--echo #cleanup --echo #cleanup
--connection node_1 --connection node_1
DROP TABLE t1; DROP TABLE t1;
--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
--let $wait_condition = SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
--source include/wait_condition.inc
--connection node_1
reset master; reset master;
--connection node_2 --connection node_2