Skip to content

Commit 2cff807

Browse files
author
Jan Lindström
committed
Add have_debug to MDEV-20793 and add wait condition to
galera_parallel_autoinc_largetrx to stabilize it.
1 parent 13b3d7f commit 2cff807

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

mysql-test/suite/galera/disabled.def

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
GCF-1081 : MDEV-18283 Galera test failure on galera.GCF-1081
1414
MW-286 : MDEV-18464 Killing thread can cause mutex deadlock if done concurrently with Galera/replication victim kill
1515
MW-329 : MDEV-19962 Galera test failure on MW-329
16+
MW-336 : MDEV-21409: Galera test failure on MW-336
1617
MW-360 : needs rewrite to be MariaDB gtid compatible
1718
MW-388: MDEV-19803 Long semaphore wait error on galera.MW-388
1819
galera_account_management : MariaDB 10.0 does not support ALTER USER
@@ -45,3 +46,4 @@ galera_wan : MDEV-17259 Test failure on galera.galera_wan
4546
mysql-wsrep#198 : MDEV-18935 Galera test mysql-wsrep#198 sporaric assertion transaction.cpp:362: int wsrep::transaction::before_commit(): Assertion `state() == s_executing || state() == s_committing || state() == s_must_abort || state() == s_replaying' failed.
4647
partition : MDEV-19958 Galera test failure on galera.partition
4748
query_cache: MDEV-15805 Test failure on galera.query_cache
49+

mysql-test/suite/galera/t/MDEV-20793.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#
1212

1313
--source include/galera_cluster.inc
14+
--source include/have_debug.inc
15+
--source include/have_debug_sync.inc
1416

1517
CREATE TABLE t1 (f1 INT PRIMARY KEY, f2 INT);
1618
INSERT INTO t1 VALUES (1, 0), (5, 0);

mysql-test/suite/galera/t/galera_parallel_autoinc_largetrx.test

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,24 @@ SET GLOBAL wsrep_slave_threads = 4;
3737

3838
--connection node_1
3939
--reap
40+
--let $wait_condition = select count(*)=30000 from t1;
41+
--source include/wait_condition.inc
42+
4043
SELECT COUNT(*) FROM t1;
4144
SELECT COUNT(DISTINCT f1) FROM t1;
4245

4346
--connection node_1a
4447
--reap
48+
--let $wait_condition = select count(*)=30000 from t1;
49+
--source include/wait_condition.inc
4550
SELECT COUNT(*) FROM t1;
4651
SELECT COUNT(DISTINCT f1) FROM t1;
4752

4853
--connection node_2
4954
--reap
5055
--disconnect node_1a
56+
--let $wait_condition = select count(*)=30000 from t1;
57+
--source include/wait_condition.inc
5158
SELECT COUNT(*) FROM t1;
5259
SELECT COUNT(DISTINCT f1) FROM t1;
5360

0 commit comments

Comments
 (0)