Skip to content

Commit f0d69b6

Browse files
committed
test(tools): Bump test_paste_text retry window to 10 seconds
why: The 5-second retry window from the earlier bump was still too tight on tmux 3.3a CI — the test failed with WaitTimeout even after reruns. The bash cold-start plus paste-buffer plumbing on the slowest matrix cells consistently exceeds 5 seconds. 10 seconds is still a reasonable upper bound (a working paste delivers output in well under a second locally) and gives enough headroom for the slower CI combinations. what: - Extend the retry_until timeout from 5 to 10 seconds. - Expand the comment to document the 5s → 10s progression so future tuners know the prior threshold was already exercised.
1 parent 200cbc6 commit f0d69b6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/test_pane_tools.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,9 +968,12 @@ def test_paste_text(mcp_server: Server, mcp_pane: Pane) -> None:
968968
# Verify the text appeared in the pane. Use a generous retry
969969
# window: CI runners cold-start the pane's shell and the echo
970970
# output can take several seconds to render on the first run.
971+
# The 5-second budget tripped on tmux 3.3a CI; 10 seconds is
972+
# still fast enough to keep the test useful locally but reliable
973+
# on the slowest matrix cells.
971974
retry_until(
972975
lambda: "PASTE_TEST_marker_xyz" in "\n".join(mcp_pane.capture_pane()),
973-
5,
976+
10,
974977
raises=True,
975978
)
976979

0 commit comments

Comments
 (0)