Pexpects: Increase a timeout

This failed on sr.ht's FreeBSD machines once.
This commit is contained in:
Fabian Homborg 2020-07-21 20:27:55 +02:00
parent 5b706faa73
commit 825f821623

View File

@ -51,7 +51,7 @@ expect_prompt()
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.
time.sleep(0.2)
time.sleep(0.5)
proc = subprocess.run(
["pgrep", "-l", "-f", "sleep 11"], stdout=subprocess.PIPE, stderr=subprocess.PIPE
)