Unverified Commit c6f0ea2c authored by Madelyn Olson's avatar Madelyn Olson Committed by GitHub
Browse files

Allow stopped redis processes to be killed in tests (#8552)

parent 60d5ef4d
......@@ -186,6 +186,8 @@ proc is_alive pid {
proc stop_instance pid {
catch {exec kill $pid}
# Node might have been stopped in the test
catch {exec kill -SIGCONT $pid}
if {$::valgrind} {
set max_wait 60000
} else {
......
......@@ -72,6 +72,8 @@ proc kill_server config {
# kill server and wait for the process to be totally exited
send_data_packet $::test_server_fd server-killing $pid
catch {exec kill $pid}
# Node might have been stopped in the test
catch {exec kill -SIGCONT $pid}
if {$::valgrind} {
set max_wait 60000
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment