summaryrefslogtreecommitdiff
path: root/test/process
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-20 07:10:49 -0300
committerGabriel Schneider <[email protected]>2026-11-20 08:11:39 -0300
commit7f306a01bf285689c31b9b6e1ec83341b15ce92c (patch)
tree89942c5d3a090d15ba282aa9c3c3acd74e2c29cd /test/process
parentd1db265b934db24268bbb2da780927fc1a2065f9 (diff)
downloadpardes-7f306a01bf285689c31b9b6e1ec83341b15ce92c.tar.gz
pardes-7f306a01bf285689c31b9b6e1ec83341b15ce92c.zip
test: exec-bigdrag waits for the sweep's quiet once, with the 30 s cap its other waits have, not first with an 8 s one (bash fails the swept chunks as commands one by one, past 8 s under load: NeverStable at that wait in 6 of 9 runs at a load of 39-45, 5 of them failing again alone; after it 0 of 21 at that wait)
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test/process')
-rw-r--r--test/process/tty_terminals.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/process/tty_terminals.zig b/test/process/tty_terminals.zig
index d5540818..dfb027e2 100644
--- a/test/process/tty_terminals.zig
+++ b/test/process/tty_terminals.zig
@@ -844,7 +844,9 @@ fn exec_bigdrag(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
try t.drag("middle", "150", 31);
try t.drag("middle", "198", 59);
try t.release("middle", "198", 59);
- try t.stable(500, 8000);
+ // Bash fails each swept chunk as a command, one by one: under load
+ // that runs well past 8 s, so the quiet is waited for once, with the
+ // cap the sweep's other waits have.
try t.stable(800, 30000);
// still alive: type and execute a marker command
try t.press("left", "105", 41);