diff options
author | Stepan Patryshev <stepan.patryshev@mariadb.com> | 2020-12-30 22:52:13 +0200 |
---|---|---|
committer | Stepan Patryshev <stepan.patryshev@mariadb.com> | 2021-01-04 15:12:05 +0200 |
commit | 06644f704a5af72f00083ff2472c97068f42ca2d (patch) | |
tree | 13c1cd8788e2562c79c0718838076faafacfec88 | |
parent | 1284e6c30d51443c8747c161a1d6449460616524 (diff) | |
download | mariadb-git-06644f704a5af72f00083ff2472c97068f42ca2d.tar.gz |
MDEV-24465: Added wait condition to make sure table t1 is replicated to node_2.
-rw-r--r-- | mysql-test/suite/galera/t/galera_rsu_error.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/galera/t/galera_rsu_error.test b/mysql-test/suite/galera/t/galera_rsu_error.test index cad8154ac76..6de7607b6ec 100644 --- a/mysql-test/suite/galera/t/galera_rsu_error.test +++ b/mysql-test/suite/galera/t/galera_rsu_error.test @@ -9,6 +9,9 @@ CREATE TABLE t1 (f1 INTEGER) Engine=InnoDB; INSERT INTO t1 VALUES (1), (1); --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 + SET SESSION wsrep_OSU_method = "RSU"; --error ER_DUP_ENTRY ALTER TABLE t1 ADD PRIMARY KEY (f1); |