mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
Allow stopped redis processes to be killed in tests (#8552)
This commit is contained in:
parent
60d5ef4d82
commit
c6f0ea2c81
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user