Skip to content

Commit 8973cdf

Browse files
authored
Make ./runtest --dump-logs dump logs for timeout tests's servers (#2412)
Kill the servers first, then kill the test clients, so that we can dump logs for timeout tests's servers easily. Note: Technically, we need to wait a while after killing the servers. But in practice I think it's enough now. Signed-off-by: yzc-yzc <[email protected]>
1 parent 1fbf5fb commit 8973cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_helper.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ proc test_server_cron {} {
408408
}
409409
}
410410
show_clients_state
411-
kill_clients
412411
force_kill_all_servers
412+
kill_clients
413413
the_end
414414
}
415415

0 commit comments

Comments
 (0)