Commit 826eed6
committed
fix(tests): add delay after send_keys in waiter test
Fixes test_wait_for_pane_content_exact_match_detailed failure on tmux 3.1b
where capture_pane() was called immediately after send_keys() before the
content had been flushed/rendered by tmux.
The race condition manifested as:
AssertionError: assert 'UNIQUE_TEST_STRING_123' in ''
Adding a 0.1s delay after send_keys() allows tmux to flush the content
before capture_pane() is called, fixing the timing issue on older versions.1 parent 398bd32 commit 826eed6
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1847 | 1847 | | |
1848 | 1848 | | |
1849 | 1849 | | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
1850 | 1853 | | |
1851 | 1854 | | |
1852 | 1855 | | |
| |||
0 commit comments