diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-04-22 07:35:41 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-04-22 07:35:41 +0300 |
commit | a6a8774d47a4598f9fcff9d96602a9a550b85feb (patch) | |
tree | 706b0dd2019573c49ff4cb432793a3ee80aa6449 /mysql-test/suite/galera/include | |
parent | 0efe1971c6f0c7c2edf906372550bef234ebb8a1 (diff) | |
download | mariadb-git-a6a8774d47a4598f9fcff9d96602a9a550b85feb.tar.gz |
MDEV-22181 : galera.galera_sst_mysqldump_with_key MTR failed: INSERT failed: 1146: Table 'test.t1' doesn't exist
Add wait condition to make sure table test.t1 is replicated
to node_2 before we insert to it.
Diffstat (limited to 'mysql-test/suite/galera/include')
-rw-r--r-- | mysql-test/suite/galera/include/galera_st_shutdown_slave.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/galera/include/galera_st_shutdown_slave.inc b/mysql-test/suite/galera/include/galera_st_shutdown_slave.inc index 6c09b0ceb0c..207282c8237 100644 --- a/mysql-test/suite/galera/include/galera_st_shutdown_slave.inc +++ b/mysql-test/suite/galera/include/galera_st_shutdown_slave.inc @@ -12,6 +12,9 @@ INSERT INTO t1 VALUES ('node1_committed_before'); COMMIT; --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 AUTOCOMMIT=OFF; START TRANSACTION; INSERT INTO t1 VALUES ('node2_committed_before'); |