Skip to content

Your lightweight open-source personal agent.

fix(test): increase yield_time_ms in test_write_stdin_can_close_stdin for Windows CI stability

chengyongru98be0de919f9
diff --git a/tests/tools/test_exec_session_tools.py b/tests/tools/test_exec_session_tools.py
index f5fe45e96..2c99a2c3b 100644
--- a/tests/tools/test_exec_session_tools.py
+++ b/tests/tools/test_exec_session_tools.py
@@ -159,13 +159,13 @@ def test_write_stdin_can_close_stdin(tmp_path):
"data=sys.stdin.read(); print('got:' + data, flush=True)"
)
- initial = await exec_tool.execute(command=command, yield_time_ms=500)
+ initial = await exec_tool.execute(command=command, yield_time_ms=1500)
sid = _session_id(initial)
result = await stdin_tool.execute(
session_id=sid,
chars="payload",
close_stdin=True,
- yield_time_ms=1000,
+ yield_time_ms=1500,
)
return initial, result