• unknown's avatar
    Bug#28742 mysql-test-run is very slow on "Stopping All Servers" step · c5fb4b24
    unknown authored
     - Improve shutdown algorithm 
     - Wait up to 5 seconds for processes to exit after their port is free
    
    
    mysql-test/lib/mtr_process.pl:
      Improve shutdown algorithm, shutdown the server hard
      if it hasn't responded to "mysqladmin shutdown" and it's port is free.
      Print error to servers error log indicating "hard shutdown"
      Give processes up to 5 seconds to exit after their port is free
    mysql-test/lib/mtr_report.pl:
      Indicate in what file the warning was found
    mysql-test/mysql-test-run.pl:
      Pass path of process error log to 'mtr_check_stop_servers'
    c5fb4b24
mtr_process.pl 29.2 KB