mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Tests: Increase timeouts
Yet again, fails on Github Actions with tsan.
This commit is contained in:
parent
ed7a64ea77
commit
e212064978
2 changed files with 4 additions and 4 deletions
|
@ -45,10 +45,10 @@ expect_prompt()
|
|||
send("echo stuff")
|
||||
sp.expect_str("echo stuff")
|
||||
send("\033")
|
||||
sleep(0.050)
|
||||
sleep(0.150)
|
||||
|
||||
os.kill(sp.spawn.pid, signal.SIGINT)
|
||||
sleep(0.050)
|
||||
sleep(0.150)
|
||||
|
||||
# We should be back in insert mode now.
|
||||
send("echo mode changes: $MODE_CHANGES\r")
|
||||
|
|
|
@ -15,7 +15,7 @@ expect_prompt()
|
|||
|
||||
# Verify that cancel-commandline does what we expect - see #7384.
|
||||
send("not executed")
|
||||
sleep(0.05)
|
||||
sleep(0.15)
|
||||
os.kill(sp.spawn.pid, signal.SIGINT)
|
||||
sp.expect_str("not executed^C")
|
||||
expect_prompt(increment=False)
|
||||
|
@ -23,7 +23,7 @@ expect_prompt(increment=False)
|
|||
sendline("function cancelhandler --on-event fish_cancel ; echo yay cancelled ; end")
|
||||
expect_prompt()
|
||||
send("still not executed")
|
||||
sleep(0.05)
|
||||
sleep(0.15)
|
||||
os.kill(sp.spawn.pid, signal.SIGINT)
|
||||
expect_str("still not executed^C")
|
||||
expect_prompt("yay cancelled", increment=False)
|
||||
|
|
Loading…
Reference in a new issue