diff options
author | Matthias Leich <Matthias.Leich@sun.com> | 2009-05-15 12:15:56 +0200 |
---|---|---|
committer | Matthias Leich <Matthias.Leich@sun.com> | 2009-05-15 12:15:56 +0200 |
commit | 21f878e7243346efa9e8ae41400528a8d5cb76cb (patch) | |
tree | 4d992c0688078d328a4150d979caaf623fd345ef /mysql-test/t/client_xml.test | |
parent | 1b7424b9b70438b8844ba34a4eb3169146660664 (diff) | |
download | mariadb-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/client_xml.test')
-rw-r--r-- | mysql-test/t/client_xml.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/client_xml.test b/mysql-test/t/client_xml.test index 739b56f5ab1..0847e2b366b 100644 --- a/mysql-test/t/client_xml.test +++ b/mysql-test/t/client_xml.test @@ -18,6 +18,10 @@ create table t1 ( `a>b` text ); insert into t1 values (1, 2, 'a&b a<b a>b'); + +# Determine the number of open sessions +--source include/count_sessions.inc + --exec $MYSQL --xml test -e "select * from t1" --exec $MYSQL_DUMP --xml --skip-create test @@ -33,3 +37,8 @@ drop table t1; # Restore global concurrent_insert value set @@global.concurrent_insert= @old_concurrent_insert; + +# Wait till the number of open sessions is <= the number before the runs with +# $MYSQL and $MYSQL_DUMP +# = The session caused by mysql and mysqldump have finished their disconnect +--source include/wait_until_count_sessions.inc |