mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Pexpects: Increase a timeout
This failed on sr.ht's FreeBSD machines once.
This commit is contained in:
parent
5b706faa73
commit
825f821623
@ -51,7 +51,7 @@ expect_prompt()
|
|||||||
send("exit\r")
|
send("exit\r")
|
||||||
|
|
||||||
# This is cheesy, but on Travis with thread-sanitizer this can be slow enough that the process is still running, so we sleep for a bit.
|
# This is cheesy, but on Travis with thread-sanitizer this can be slow enough that the process is still running, so we sleep for a bit.
|
||||||
time.sleep(0.2)
|
time.sleep(0.5)
|
||||||
proc = subprocess.run(
|
proc = subprocess.run(
|
||||||
["pgrep", "-l", "-f", "sleep 11"], stdout=subprocess.PIPE, stderr=subprocess.PIPE
|
["pgrep", "-l", "-f", "sleep 11"], stdout=subprocess.PIPE, stderr=subprocess.PIPE
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user