summaryrefslogtreecommitdiff
path: root/mysql-test/r/wait_timeout.result
diff options
context:
space:
mode:
authorunknown <knielsen@ymer.(none)>2006-07-06 23:49:09 +0200
committerunknown <knielsen@ymer.(none)>2006-07-06 23:49:09 +0200
commit224082fc6b67ea3f5cd15efa4448bd36a125ccb3 (patch)
treecb7b39ff967443b1ea83c58d36982b6953231935 /mysql-test/r/wait_timeout.result
parent0f93a64effb53f2902698a9d6f020f89d0edd26a (diff)
downloadmariadb-git-224082fc6b67ea3f5cd15efa4448bd36a125ccb3.tar.gz
BUG#19951: Race conditions in test wait_timeout.
Fix random failures in test 'wait_timeout' that depend on exact timing. 1. Force a reconnect initially if necessary, as otherwise slow startup might have caused a connection timeout before the test can even start. 2. Explicitly disconnect the first connection to remove confusion about which connection aborts from timeout, causing test failure. mysql-test/r/wait_timeout.result: Fix two races in test. mysql-test/t/wait_timeout.test: Fix two races in test.
Diffstat (limited to 'mysql-test/r/wait_timeout.result')
-rw-r--r--mysql-test/r/wait_timeout.result4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/wait_timeout.result b/mysql-test/r/wait_timeout.result
index 683986abf5d..b865a17454d 100644
--- a/mysql-test/r/wait_timeout.result
+++ b/mysql-test/r/wait_timeout.result
@@ -1,3 +1,7 @@
+select 0;
+0
+0
+flush status;
select 1;
1
1