Repository navigation
Commit 986ed91
committed
test(builder): deterministic pane-setup abort
why: the synchronize-restore-on-abort test triggered the abort with an
invalid tmux layout. tmux's invalid-layout wording varies by version
and crashes the server outright on tmux 3.3a, so the test failed across
the CI matrix though it passed on a single local tmux version.
what:
- Inject the abort in Python by monkeypatching iter_create_panes to
raise, after synchronize-panes is disabled and before it is restored
- Drop the version-fragile invalid-layout trigger and its message match1 parent 5276b2d commit 986ed91
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2280 | 2280 | | |
2281 | 2281 | | |
2282 | 2282 | | |
| 2283 | + | |
2283 | 2284 | | |
2284 | 2285 | | |
2285 | 2286 | | |
| |||
2303 | 2304 | | |
2304 | 2305 | | |
2305 | 2306 | | |
2306 | | - | |
2307 | 2307 | | |
2308 | 2308 | | |
2309 | 2309 | | |
| |||
2325 | 2325 | | |
2326 | 2326 | | |
2327 | 2327 | | |
2328 | | - | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
2329 | 2340 | | |
2330 | 2341 | | |
2331 | 2342 | | |
| |||
0 commit comments