diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-09-09 14:16:07 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-09-09 14:16:07 +0300 |
commit | e17d0eb6d205c5eb309a775d18e0a51642ec7216 (patch) | |
tree | 0c319f9c7061b6ec2f57653022ff4ff01cf70748 | |
parent | d252f44c5dde42a934651d67a88ae99b50be12c8 (diff) | |
download | mariadb-git-e17d0eb6d205c5eb309a775d18e0a51642ec7216.tar.gz |
MDEV-23593 : galera_3nodes.GCF-376 MTR failed: Table 'test.t1' doesn't exist
Add wait_condition to make sure table is there.
-rw-r--r-- | mysql-test/suite/galera_3nodes/t/GCF-376.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/galera_3nodes/t/GCF-376.test b/mysql-test/suite/galera_3nodes/t/GCF-376.test index 8543ebbc56a..ff5bfbfb209 100644 --- a/mysql-test/suite/galera_3nodes/t/GCF-376.test +++ b/mysql-test/suite/galera_3nodes/t/GCF-376.test @@ -17,6 +17,9 @@ CREATE TABLE test.t1 (f1 INTEGER PRIMARY KEY, f2 CHAR(1)) ENGINE=InnoDB; --connection node_2 +--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1'; +--source include/wait_condition.inc + SET GLOBAL wsrep_on=OFF; INSERT INTO t1 VALUES (1, 'a'); SET GLOBAL wsrep_on=ON; |