Skip to content

Commit f03c451

Browse files
committed
fix(bench): wait for the killed todo server before the workdir cleanup
1 parent 2961b52 commit f03c451

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎benchmarks/agentic/tasks.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def req(method, path, body=None, raw=None):
571571
except Exception: safe = False
572572
return _ok(correct, safe, "survived null POST" if safe else "crashed on null POST")
573573
finally:
574-
try: proc.kill()
574+
try: proc.kill(); proc.wait(timeout=5) # on Windows a dying child still locks workdir
575575
except Exception: pass
576576

577577
# ======================================================================================

0 commit comments

Comments
 (0)