Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix(tests): increase hard timeout in test_bash_server to avoid timeout on Windows (#9930)

llamantinoe9e2c989464c
diff --git a/tests/runtime/test_bash.py b/tests/runtime/test_bash.py
index 452224a8f7..5b5d9e9f12 100644
--- a/tests/runtime/test_bash.py
+++ b/tests/runtime/test_bash.py
@@ -94,7 +94,7 @@ def test_bash_server(temp_dir, runtime_cls, run_as_openhands):
# Verify the server is actually stopped by trying to start another one
# on the same port (regardless of OS)
action = CmdRunAction(command='ls')
- action.set_hard_timeout(1)
+ action.set_hard_timeout(3)
obs = runtime.run_action(action)
logger.info(obs, extra={'msg_type': 'OBSERVATION'})
assert isinstance(obs, CmdOutputObservation)