• Sergei Golubchik's avatar
    MDEV-25802 mtr: race condition if the test quickly restarts twice · 621fae3c
    Sergei Golubchik authored
    part II
    
    need to tell SafeProcess not to collect the exited mysqld
    in sleep_until_file_created(), so that it would be found in the
    later wait_any_timeout() in run_testcase()
    
    Removed a strange condition in SafeProcess::wait_one()
    that treated return value of -1 from waitpid() as "process exists"
    instead of as "no such child process" (see `perldoc -f waitpid`)
    621fae3c
SafeProcess.pm 14.2 KB