summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2021-09-01 09:25:52 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2021-09-02 07:32:19 +0300
commit99f6a266c8b858d3b03c765a5952a30fc99450b6 (patch)
tree25b4b5d2e4eada1fa73fa2896c17e51702329a5f
parent5613ead49edd50af66d2499d3bb255aede891242 (diff)
downloadmariadb-git-99f6a266c8b858d3b03c765a5952a30fc99450b6.tar.gz
MDEV-26517 : Galera test failure on galera_fk_cascade_delete_debug
Move --error on --reap where it belongs and take a account that there could be different return codes.
-rw-r--r--mysql-test/suite/galera/t/galera_fk_cascade_delete_debug.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/suite/galera/t/galera_fk_cascade_delete_debug.test b/mysql-test/suite/galera/t/galera_fk_cascade_delete_debug.test
index d902783ed64..7021681b2f9 100644
--- a/mysql-test/suite/galera/t/galera_fk_cascade_delete_debug.test
+++ b/mysql-test/suite/galera/t/galera_fk_cascade_delete_debug.test
@@ -93,7 +93,6 @@ SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
--connection node_1
# issue conflicting write to child table, it should fail in certification
---error ER_LOCK_DEADLOCK
--send update child set j=2;
--connection node_1a
@@ -103,6 +102,7 @@ SET GLOBAL debug_dbug = "";
SET DEBUG_SYNC = "RESET";
--connection node_1
+--error 0,ER_LOCK_DEADLOCK, ER_LOCK_WAIT_TIMEOUT
--reap
--let $wait_condition = SELECT COUNT(*) = 0 FROM parent;
--source include/wait_condition.inc