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

This commit is contained in:
llamantino 2025-08-21 17:12:42 +02:00 committed by GitHub
parent 7861c1ddf7
commit e9e2c98946
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)