summaryrefslogtreecommitdiff
path: root/mysql-test/t/archive_bitfield.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
commit02a902edc1dee7df3c85b5c4db86df81fa2ceec9 (patch)
tree4d992c0688078d328a4150d979caaf623fd345ef /mysql-test/t/archive_bitfield.test
parente6f6774f9d219fe767b403ca037ac59aea60068c (diff)
downloadmariadb-git-02a902edc1dee7df3c85b5c4db86df81fa2ceec9.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/archive_bitfield.test')
-rw-r--r--mysql-test/t/archive_bitfield.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/archive_bitfield.test b/mysql-test/t/archive_bitfield.test
index 1e4692270b5..2e90ce39708 100644
--- a/mysql-test/t/archive_bitfield.test
+++ b/mysql-test/t/archive_bitfield.test
@@ -94,5 +94,11 @@ INSERT INTO `t1` VALUES
(NULL,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'100000',b'010010',b'011111',4,5,5,5,5,5,5,5,5,5,3,2,1),
(NULL,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'000000',b'001100',b'111111',4,5,5,5,5,5,5,5,5,5,3,2,1),
(NULL,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,b'111111',b'000000',b'000000',4,5,5,5,5,5,5,5,5,5,3,2,1);
+# Determine the number of open sessions
+--source include/count_sessions.inc
--exec $MYSQL_DUMP --hex-blob --compact --order-by-primary --skip-extended-insert --no-create-info test t1
drop table t1;
+# Wait till the number of open sessions is <= the number before the run with $MYSQL_DUMP
+# = The session caused by mysqldump has finished its disconnect
+--source include/wait_until_count_sessions.inc
+