Commit 7a546650 authored by Jan Lindström's avatar Jan Lindström

MDEV-20916: Galera test failure on galera.galera_parallel_autoinc_largetrx: Result content mismatch

Add wait_condition to make sure that node contains all the rows
expected.
parent ba2061da
......@@ -21,7 +21,6 @@ galera_binlog_stmt_autoinc : MDEV-19959 Galera test failure on galera_binlog_stm
galera_gcache_recover_manytrx : MDEV-18834 Galera test failure
galera_ist_progress : MDEV-15236 fails when trying to read transfer status
galera_load_data : MDEV-19968 galera.galera_load_data
galera_parallel_autoinc_largetrx : MDEV-20916 galera.galera_parallel_autoinc_largetrx
galera_parallel_simple : MDEV-20318 galera.galera_parallel_simple fails
galera_shutdown_nonprim : MDEV-21493 galera.galera_shutdown_nonprim
galera_ssl_upgrade : MDEV-19950 Galera test failure on galera_ssl_upgrade
......
......@@ -15,11 +15,11 @@ connection node_1;
connection node_1a;
connection node_2;
disconnect node_1a;
SELECT COUNT(*) FROM t1;
COUNT(*)
SELECT COUNT(*) AS EXPECT_30000 FROM t1;
EXPECT_30000
30000
SELECT COUNT(DISTINCT f1) FROM t1;
COUNT(DISTINCT f1)
SELECT COUNT(DISTINCT f1) AS EXPECT_30000 FROM t1;
EXPECT_30000
30000
connection default;
DROP TABLE t1;
......
......@@ -44,8 +44,12 @@ SET GLOBAL wsrep_slave_threads = 4;
--connection node_2
--reap
--disconnect node_1a
SELECT COUNT(*) FROM t1;
SELECT COUNT(DISTINCT f1) FROM t1;
--let $wait_condition = SELECT COUNT(*) = 30000 FROM t1;
--source include/wait_condition.inc
SELECT COUNT(*) AS EXPECT_30000 FROM t1;
SELECT COUNT(DISTINCT f1) AS EXPECT_30000 FROM t1;
--disable_query_log
--eval SET GLOBAL wsrep_slave_threads = $wsrep_slave_threads_orig;
......
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