The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: loosen two wall-clock bounds that flaked under a 40-worker run
teknium135d3c879f312
diff --git a/tests/gateway/test_session_hygiene.py b/tests/gateway/test_session_hygiene.pyindex 8128e5c56ab..0bce9a5f44c 100644--- a/tests/gateway/test_session_hygiene.py+++ b/tests/gateway/test_session_hygiene.py@@ -1705,7 +1705,9 @@ async def test_hygiene_does_not_wait_ceiling_after_fence_cancel(assert result == "ok"assert worker_started.wait(timeout=2)- assert elapsed < 2.0, (+ # The bug this guards against is a 600s ceiling; a saturated CI runner+ # legitimately adds seconds of scheduling latency, so the bound is loose.+ assert elapsed < 20.0, (f"hygiene host waited {elapsed:.1f}s after fence cancel — ""must not extend toward the 600s ceiling (#96953)")diff --git a/tests/tui_gateway/test_hosted_room_driver_runtime.py b/tests/tui_gateway/test_hosted_room_driver_runtime.pyindex bdf5fe77981..72ee4d30369 100644--- a/tests/tui_gateway/test_hosted_room_driver_runtime.py+++ b/tests/tui_gateway/test_hosted_room_driver_runtime.py@@ -422,7 +422,7 @@ def _runtime()-def _wait_for(predicate, *, timeout: float = 2.0) -> None:+def _wait_for(predicate, *, timeout: float = 10.0) -> None:deadline = time.monotonic() + timeoutwhile time.monotonic() < deadline:if predicate():