mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-06-13 22:34:06 +00:00
fix(test): increase yield_time_ms in test_write_stdin_can_close_stdin for Windows CI stability
This commit is contained in:
parent
13ab092cea
commit
98be0de919
@ -159,13 +159,13 @@ def test_write_stdin_can_close_stdin(tmp_path):
|
|||||||
"data=sys.stdin.read(); print('got:' + data, flush=True)"
|
"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)
|
sid = _session_id(initial)
|
||||||
result = await stdin_tool.execute(
|
result = await stdin_tool.execute(
|
||||||
session_id=sid,
|
session_id=sid,
|
||||||
chars="payload",
|
chars="payload",
|
||||||
close_stdin=True,
|
close_stdin=True,
|
||||||
yield_time_ms=1000,
|
yield_time_ms=1500,
|
||||||
)
|
)
|
||||||
return initial, result
|
return initial, result
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user