Commit dd0b844a authored by Stepan Patryshev's avatar Stepan Patryshev

MDEV-24699: Added wait condition to make sure table t2 is replicated to node_1.

parent 3edad542
...@@ -32,6 +32,9 @@ CREATE TABLE t2 (f1 VARCHAR(255)) Engine=InnoDB; ...@@ -32,6 +32,9 @@ CREATE TABLE t2 (f1 VARCHAR(255)) Engine=InnoDB;
INSERT INTO t2 VALUES ('abc'); INSERT INTO t2 VALUES ('abc');
--connection node_1 --connection node_1
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t2';
--source include/wait_condition.inc
TRUNCATE TABLE t2; TRUNCATE TABLE t2;
--connection node_2 --connection node_2
......
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