diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-05-08 09:13:47 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-05-08 09:13:47 +0300 |
commit | 40d0b6416729cec49d7cf1ae4dfa5ec59c455812 (patch) | |
tree | 66a99f0d942112d0e5051392ea381553d07be72b /mysql-test/suite/galera/t | |
parent | 0dee57c6f56160ce84b04fcf71a85bf27de2581a (diff) | |
download | mariadb-git-40d0b6416729cec49d7cf1ae4dfa5ec59c455812.tar.gz |
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.
Diffstat (limited to 'mysql-test/suite/galera/t')
-rw-r--r-- | mysql-test/suite/galera/t/galera_as_slave_gtid_myisam.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/suite/galera/t/galera_as_slave_gtid_myisam.test b/mysql-test/suite/galera/t/galera_as_slave_gtid_myisam.test index 33668da11be..3710e6d65be 100644 --- a/mysql-test/suite/galera/t/galera_as_slave_gtid_myisam.test +++ b/mysql-test/suite/galera/t/galera_as_slave_gtid_myisam.test @@ -55,6 +55,16 @@ SELECT COUNT(*) = 0 FROM t1; --echo #cleanup --connection node_1 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; --connection node_2 |