mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Increase job summary timeout more in one call
This commit is contained in:
parent
46faf0869c
commit
7c0ecf0d37
1 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ expect_prompt()
|
|||
# fish_job_summary is called when background job ends.
|
||||
sendline("sleep 0.5 &")
|
||||
expect_prompt()
|
||||
expect_re("[0-9]+:0:sleep 0.5 &:ENDED")
|
||||
expect_re("[0-9]+:0:sleep 0.5 &:ENDED", timeout=20)
|
||||
sendline("")
|
||||
expect_prompt()
|
||||
|
||||
|
@ -32,7 +32,7 @@ expect_prompt()
|
|||
sendline("false; sleep 10 &; true")
|
||||
expect_prompt()
|
||||
sendline("kill -TERM $last_pid")
|
||||
expect_re("[0-9]+:0:sleep 10 &:SIGTERM:Polite quit request")
|
||||
expect_re("[0-9]+:0:sleep 10 &:SIGTERM:Polite quit request", timeout=20)
|
||||
sendline("")
|
||||
expect_prompt()
|
||||
|
||||
|
@ -41,4 +41,4 @@ expect_prompt()
|
|||
sendline("true | sleep 6")
|
||||
sleep(0.100)
|
||||
call(["pkill", "-KILL", "sleep", "-P", str(sp.spawn.pid)])
|
||||
expect_re("[0-9]+:1:true|sleep 6:SIGKILL:Forced quit:[0-9]+:sleep")
|
||||
expect_re("[0-9]+:1:true|sleep 6:SIGKILL:Forced quit:[0-9]+:sleep", timeout=20)
|
||||
|
|
Loading…
Reference in a new issue