Kill Client mid-task, but only after a report, via openbench.exit

This commit is contained in:
andrew committed 2023-05-05 13:24:39 -04:00
1 parent 7cc016817c
commit a8e977da57
1 file changed
+2 -2
+2 -2
View File
@@ -963,8 +963,8 @@ def run_and_parse_cutechess(arguments, workload, concurrency, command, cutechess
stats = wld + [crashes, timelosses]
status = server_report_results(arguments, workload, stats)
# Check for the task being aborted
if status.upper() == 'STOP':
# Check for the task being aborted, or Client being killed
if status.upper() == 'STOP' or os.path.isfile('openbench.exit'):
kill_cutechess(cutechess)
return