diff options
author | Stepan Patryshev <stepan.patryshev@mariadb.com> | 2020-12-30 23:32:31 +0200 |
---|---|---|
committer | Stepan Patryshev <stepan.patryshev@mariadb.com> | 2021-01-04 15:12:05 +0200 |
commit | 51b7438d23c02d19efa9ecd050963d2d11db0538 (patch) | |
tree | ca3cb9739521539cf762fa15a6d2b087b693a0ac /mysql-test | |
parent | 06644f704a5af72f00083ff2472c97068f42ca2d (diff) | |
download | mariadb-git-51b7438d23c02d19efa9ecd050963d2d11db0538.tar.gz |
MDEV-24482: Added wait condition to make sure table t1 is replicated to node_2.
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/suite/galera/t/galera_truncate_temporary.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/galera/t/galera_truncate_temporary.test b/mysql-test/suite/galera/t/galera_truncate_temporary.test index 3ad94eb9930..ea20911bd5d 100644 --- a/mysql-test/suite/galera/t/galera_truncate_temporary.test +++ b/mysql-test/suite/galera/t/galera_truncate_temporary.test @@ -67,6 +67,9 @@ CREATE TEMPORARY TABLE t1 (f1 INTEGER) ENGINE=InnoDB; INSERT INTO t1 VALUES (2); --connection node_2 +--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t1'; +--source include/wait_condition.inc + TRUNCATE TABLE t1; SELECT COUNT(*) = 0 FROM t1; |