pexpects/signals: Decrease a timeout that should be reached

Saves ~10% of the *total* testing time (except for `cargo test`)
This commit is contained in:
Fabian Boehm
2025-01-07 18:14:16 +01:00
parent d3762f11b5
commit ec3b3fe321

View File

@@ -77,7 +77,7 @@ sendline("mkfifo fifoo")
expect_prompt()
sendline("cat >fifoo")
subprocess.call(["kill", "-WINCH", str(sp.spawn.pid)])
expect_re("open: ", shouldfail=True, timeout=10)
expect_re("open: ", shouldfail=True, timeout=2)
subprocess.call(["kill", "-INT", str(sp.spawn.pid)])
expect_prompt()