Skip to content

Commit 818466e

Browse files
committed
workspace/builder(fix[doctest]): Increase readiness doctest timeout to 5s
why: The 2s timeout was too tight for slow environments, causing flaky doctest failures when the shell hadn't drawn its prompt yet. what: - Bump _wait_for_pane_ready doctest timeout from 2.0 to 5.0 seconds
1 parent d3c0c87 commit 818466e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tmuxp/workspace/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _wait_for_pane_ready(
5353
5454
Wait for the shell to be ready:
5555
56-
>>> _wait_for_pane_ready(pane, timeout=2.0)
56+
>>> _wait_for_pane_ready(pane, timeout=5.0)
5757
True
5858
"""
5959
start = time.monotonic()

0 commit comments

Comments
 (0)