summaryrefslogtreecommitdiff
path: root/mysql-test/t/events_stress.test
diff options
context:
space:
mode:
authorMatthias Leich <Matthias.Leich@sun.com>2009-05-15 12:15:56 +0200
committerMatthias Leich <Matthias.Leich@sun.com>2009-05-15 12:15:56 +0200
commit21f878e7243346efa9e8ae41400528a8d5cb76cb (patch)
tree4d992c0688078d328a4150d979caaf623fd345ef /mysql-test/t/events_stress.test
parent1b7424b9b70438b8844ba34a4eb3169146660664 (diff)
downloadmariadb-git-21f878e7243346efa9e8ae41400528a8d5cb76cb.tar.gz
Fix for Bug#42308 Several server tests do not pass MTR's --check option
Details: Most tests mentioned within the bug report were already fixed. The test modified here failed in stability (high parallel load) tests. Details: 1. Take care that disconnects are finished before the test terminates. 2. Correct wrong handling of send/reap in events_stress which caused random garbled output 3. Minor beautifying of script code
Diffstat (limited to 'mysql-test/t/events_stress.test')
-rw-r--r--mysql-test/t/events_stress.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/mysql-test/t/events_stress.test b/mysql-test/t/events_stress.test
index 22959898b43..e51fa734256 100644
--- a/mysql-test/t/events_stress.test
+++ b/mysql-test/t/events_stress.test
@@ -109,7 +109,7 @@ connection conn3;
--send
DROP DATABASE events_conn3_db;
connection default;
---send
+# --send
DROP DATABASE events_conn1_test2;
DROP DATABASE events_conn1_test3;
SET GLOBAL event_scheduler=off;
@@ -135,3 +135,7 @@ DROP USER event_user3@localhost;
#
DROP DATABASE events_test;
+
+# Cleanup
+SET GLOBAL event_scheduler=off;
+--source include/check_events_off.inc