summaryrefslogtreecommitdiff
path: root/mysql-test/main/debug_sync.test
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <cvicentiu@gmail.com>2021-09-29 14:10:56 +0300
committerVicențiu Ciorbaru <cvicentiu@gmail.com>2021-09-29 14:10:56 +0300
commitb1030352b7eb85725b8ae86a3934ad07cd925712 (patch)
treeec4d05bb73fc2778dfceea8fa24912ab3120250e /mysql-test/main/debug_sync.test
parent53066bd0a5153a0b35fef577701eff6032db0080 (diff)
downloadmariadb-git-bb-10.6-vicentiu-debug_sync.tar.gz
Implement DEBUG_SYNC multiple signal firing capabilitybb-10.6-vicentiu-debug_sync
One can now do: set DEBUG_SYNC='... SIGNAL s1,s2,s3...' Multiple signals can be fired, they need to be split by commas.
Diffstat (limited to 'mysql-test/main/debug_sync.test')
-rw-r--r--mysql-test/main/debug_sync.test7
1 files changed, 5 insertions, 2 deletions
diff --git a/mysql-test/main/debug_sync.test b/mysql-test/main/debug_sync.test
index 0ea637a393a..1dc3dc9c71e 100644
--- a/mysql-test/main/debug_sync.test
+++ b/mysql-test/main/debug_sync.test
@@ -439,10 +439,13 @@ SHOW VARIABLES LIKE 'DEBUG_SYNC';
SET DEBUG_SYNC= 'now WAIT_FOR s1';
SHOW VARIABLES LIKE 'DEBUG_SYNC';
+SET DEBUG_SYNC= 'now SIGNAL s1,s2,s5,s7';
+SHOW VARIABLES LIKE 'DEBUG_SYNC';
+
+
#
# Cleanup after test case.
-# Otherwise signal would contain 'flushed' here,
-# which could confuse the next test.
+# Otherwise signal would confuse the next test.
#
SET DEBUG_SYNC= 'RESET';