• He Zhenxing's avatar
    BUG#40704 main.events_restart fails sporadically in pushbuild: "server has gone away" · 2070da70
    He Zhenxing authored
    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.
    
    
    mysql-test/include/mtr_warnings.sql:
      Suppress forcing close thread messages when server shuts down
    mysql-test/include/restart_mysqld.inc:
      wait_until_disconnected.inc is not required after fix shutdown_server command
    2070da70
mysqltest.cc 240 KB