Skip to content

The agent that grows with you

test(tui_gateway): per-session publish lock test waits 2 s, not 1 s

Teknium2828e663c0fa
diff --git a/tests/tui_gateway/test_session_control.py b/tests/tui_gateway/test_session_control.py
index 08f597ccc42..a7bf5044b94 100644
--- a/tests/tui_gateway/test_session_control.py
+++ b/tests/tui_gateway/test_session_control.py
@@ -444,7 +444,7 @@ class TestUpdatePublication:
assert stalled.wait(5)
fast = threading.Thread(target=server._publish_session_control_snapshot, args=(other_sid, other))
fast.start()
- fast.join(1)
+ fast.join(2) # >= 2 s per tests/AGENTS.md; below the stalled writer's 5 s wait
assert not fast.is_alive(), "another session's stalled write blocked this publish"
assert emitted == [other_sid]
finally: