diff --git a/tests/conftest.py b/tests/conftest.py index dc818ca..6bca958 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -13,11 +13,15 @@ @pytest.fixture def limits() -> ModelExecutionLimits: + # The request window also covers the attempt recorder's journal commits, and each JSONL + # commit syncs to disk. A loaded host can spend more than 5 seconds in those syncs and + # turn a fabricated setup turn into a model timeout. Timeout tests set their own short + # per-request windows, so this ceiling only bounds a hang. return ModelExecutionLimits( max_response_bytes=8192, max_tool_argument_bytes=512, max_attempts=2, - request_timeout_seconds=5, + request_timeout_seconds=15, max_retry_delay_seconds=0.001, )