mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
224082fc6b
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.
20 lines
184 B
Text
20 lines
184 B
Text
select 0;
|
|
0
|
|
0
|
|
flush status;
|
|
select 1;
|
|
1
|
|
1
|
|
select 2;
|
|
ERROR HY000: MySQL server has gone away
|
|
select 3;
|
|
3
|
|
3
|
|
select 1;
|
|
1
|
|
1
|
|
select 2;
|
|
ERROR HY000: MySQL server has gone away
|
|
select 3;
|
|
3
|
|
3
|