Tests: Increase timeouts

Yet again, fails on Github Actions with tsan.
This commit is contained in:
Fabian Homborg 2021-07-12 18:12:35 +02:00
parent ed7a64ea77
commit e212064978
2 changed files with 4 additions and 4 deletions

View file

@ -45,10 +45,10 @@ expect_prompt()
send("echo stuff") send("echo stuff")
sp.expect_str("echo stuff") sp.expect_str("echo stuff")
send("\033") send("\033")
sleep(0.050) sleep(0.150)
os.kill(sp.spawn.pid, signal.SIGINT) os.kill(sp.spawn.pid, signal.SIGINT)
sleep(0.050) sleep(0.150)
# We should be back in insert mode now. # We should be back in insert mode now.
send("echo mode changes: $MODE_CHANGES\r") send("echo mode changes: $MODE_CHANGES\r")

View file

@ -15,7 +15,7 @@ expect_prompt()
# Verify that cancel-commandline does what we expect - see #7384. # Verify that cancel-commandline does what we expect - see #7384.
send("not executed") send("not executed")
sleep(0.05) sleep(0.15)
os.kill(sp.spawn.pid, signal.SIGINT) os.kill(sp.spawn.pid, signal.SIGINT)
sp.expect_str("not executed^C") sp.expect_str("not executed^C")
expect_prompt(increment=False) expect_prompt(increment=False)
@ -23,7 +23,7 @@ expect_prompt(increment=False)
sendline("function cancelhandler --on-event fish_cancel ; echo yay cancelled ; end") sendline("function cancelhandler --on-event fish_cancel ; echo yay cancelled ; end")
expect_prompt() expect_prompt()
send("still not executed") send("still not executed")
sleep(0.05) sleep(0.15)
os.kill(sp.spawn.pid, signal.SIGINT) os.kill(sp.spawn.pid, signal.SIGINT)
expect_str("still not executed^C") expect_str("still not executed^C")
expect_prompt("yay cancelled", increment=False) expect_prompt("yay cancelled", increment=False)