Merge pull request #676 from codership/MDEV-13549-fixes-for-galera_gtid_slave
MDEV-13549 Fix and re-enable MTR test galera.galera_gtid_slave
This commit is contained in:
commit
d21adb53a5
@ -45,7 +45,6 @@ galera_pc_ignore_sb : MDEV-13549 Galera test failures 10.1
|
||||
galera_lock_table : MDEV-13549 Galera test failures 10.1
|
||||
MW-284 : MDEV-13549 Galera test failures 10.1
|
||||
galera_gtid : MDEV-13549 Galera test failures 10.1
|
||||
galera_gtid_slave : MDEV-13549 Galera test failures 10.1
|
||||
galera_unicode_identifiers : MDEV-13549 Galera test failures 10.1
|
||||
galera.galera_gcs_fc_limit : MDEV-13549 Galera test failures 10.1
|
||||
galera.MW-329 : wsrep_local_replays not stable
|
||||
|
@ -19,8 +19,8 @@ SELECT @@global.gtid_binlog_state;
|
||||
@@global.gtid_binlog_state
|
||||
1-1-4,2-2-2,2-3-3
|
||||
DROP TABLE t1,t2;
|
||||
reset master;
|
||||
STOP SLAVE;
|
||||
RESET SLAVE ALL;
|
||||
reset master;
|
||||
reset master;
|
||||
reset master;
|
||||
|
@ -38,7 +38,13 @@ SELECT @@global.gtid_binlog_state;
|
||||
|
||||
--let $wait_condition = SELECT COUNT(*) = 1 FROM t1;
|
||||
--source include/wait_condition.inc
|
||||
--sleep 1
|
||||
|
||||
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't2';
|
||||
--source include/wait_condition.inc
|
||||
|
||||
--let $wait_condition = SELECT COUNT(*) = 2 FROM t2;
|
||||
--source include/wait_condition.inc
|
||||
|
||||
INSERT INTO t1 VALUES(2);
|
||||
INSERT INTO t1 VALUES(3);
|
||||
SELECT @@global.gtid_binlog_state;
|
||||
@ -52,14 +58,6 @@ SELECT @@global.gtid_binlog_state;
|
||||
|
||||
--connection node_1
|
||||
DROP TABLE t1,t2;
|
||||
reset master;
|
||||
#
|
||||
# Unfortunately without the sleep below the following statement fails with "query returned no rows", which
|
||||
# is difficult to understand given that it is an aggregate query. A "query execution was interrupted"
|
||||
# warning is also reported by MTR, which is also weird.
|
||||
#
|
||||
|
||||
--sleep 1
|
||||
|
||||
--connection node_2
|
||||
--let $wait_condition = SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1';
|
||||
@ -76,3 +74,6 @@ reset master;
|
||||
|
||||
--connection node_3
|
||||
reset master;
|
||||
|
||||
--connection node_1
|
||||
reset master;
|
||||
|
Loading…
x
Reference in New Issue
Block a user