mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
Fix buggy test that fails due to "error: packets out of order" message in the trace file
when EXTRA_DEBUG is enabled. The reason for the error message is that a query was issued with send, but response was not read with reap.
This commit is contained in:
parent
401b0bd0be
commit
321cf652cb
1 changed files with 7 additions and 5 deletions
|
@ -77,15 +77,17 @@ sleep 3;
|
||||||
|
|
||||||
|
|
||||||
connection default;
|
connection default;
|
||||||
sleep 1;
|
|
||||||
|
|
||||||
--disable_query_log
|
--disable_query_log
|
||||||
--eval kill $PSEUDO_THREAD_ID
|
--eval kill $PSEUDO_THREAD_ID
|
||||||
sleep 2;
|
connection addconroot;
|
||||||
--enable_query_log
|
# Read response from connection to avoid packets out-of-order when disconnecting
|
||||||
|
# Note, that connection can already be dead due to previously issued kill
|
||||||
|
--error 0,2013
|
||||||
|
--reap
|
||||||
disconnect addconroot;
|
disconnect addconroot;
|
||||||
|
connection default;
|
||||||
|
--enable_query_log
|
||||||
#
|
#
|
||||||
# Clean up
|
# Clean up
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue