Unverified Commit f0c1c730 authored by Oran Agra's avatar Oran Agra Committed by GitHub
Browse files

test suite: clean server pids after server crashed (#12639)

when a server in the test suite crashes and is restarted by redstart_server, we didn't clean it's pid from the list.
we can see that when the corrupt-dump-fuzzer hangs, it has a long list of servers to lean, but in fact they're all already dead.
parent b784c537
...@@ -60,6 +60,10 @@ proc kill_server config { ...@@ -60,6 +60,10 @@ proc kill_server config {
} }
check_sanitizer_errors [dict get $config stderr] check_sanitizer_errors [dict get $config stderr]
# Remove this pid from the set of active pids in the test server.
send_data_packet $::test_server_fd server-killed $pid
return return
} }
......
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