1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

BUG#40704 main.events_restart fails sporadically in pushbuild: "server has gone away"

mysqltest command 'shutdown_server' is supposed to shutdown the server
and wait for it to be gone, and kill it when timeout. But because the
arguments passed to my_kill were in the wrong order, 'shutdown_server'
does not wait nor kill the server at all. So after 'shutdown_server',
the server is still running, and the server may still accepting
connections.
This commit is contained in:
He Zhenxing
2008-12-25 17:53:24 +08:00
parent 1fe215a7e5
commit e58f77bbf0
3 changed files with 4 additions and 6 deletions

View File

@ -9,9 +9,6 @@ EOF
# it 10 seconds to die before zapping it
shutdown_server 10;
# Check server is gone
--source include/wait_until_disconnected.inc
# Write file to make mysql-test-run.pl start up the server again
--append_file $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
restart