mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 14:34:05 +00:00
tests: Increase another timeout
Failed on Cirrus Alpine. The only explanation I can come up with here is that this took over 100ms to start `true | sleep 6`. The alternative is that it started it and then did not regain control in 6 seconds to kill that sleep. Part of #11036
This commit is contained in:
parent
723943fd1f
commit
cbbf95ee55
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ expect_prompt()
|
||||||
# fish_job_summary is called when foreground job is signalled.
|
# fish_job_summary is called when foreground job is signalled.
|
||||||
# cmd_line contains the entire pipeline. proc_id and proc_name are set in a pipeline.
|
# cmd_line contains the entire pipeline. proc_id and proc_name are set in a pipeline.
|
||||||
sendline("true | sleep 6")
|
sendline("true | sleep 6")
|
||||||
sleep(0.100)
|
sleep(0.200)
|
||||||
# Beware: Mac pkill requires that the -P argument come before the process name,
|
# Beware: Mac pkill requires that the -P argument come before the process name,
|
||||||
# else the -P argument is ignored.
|
# else the -P argument is ignored.
|
||||||
call(["pkill", "-KILL", "-P", str(sp.spawn.pid), "sleep"])
|
call(["pkill", "-KILL", "-P", str(sp.spawn.pid), "sleep"])
|
||||||
expect_re("[0-9]+:1:true|sleep 6:SIGKILL:Forced quit:[0-9]+:sleep", timeout=20)
|
expect_re("[0-9]+:1:true|sleep 6:SIGKILL:Forced quit:[0-9]+:sleep", timeout=10)
|
||||||
|
|
Loading…
Reference in a new issue