diff --git a/tests/instances.tcl b/tests/instances.tcl index 793bce80d..255d9740f 100644 --- a/tests/instances.tcl +++ b/tests/instances.tcl @@ -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 { diff --git a/tests/support/server.tcl b/tests/support/server.tcl index 4fbb99920..3ff923d7e 100644 --- a/tests/support/server.tcl +++ b/tests/support/server.tcl @@ -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 {