From 825f821623925c59203c9f7d72b458b15c292f70 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 21 Jul 2020 20:27:55 +0200 Subject: [PATCH] Pexpects: Increase a timeout This failed on sr.ht's FreeBSD machines once. --- tests/pexpects/exit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pexpects/exit.py b/tests/pexpects/exit.py index b12e03993..67a886dac 100644 --- a/tests/pexpects/exit.py +++ b/tests/pexpects/exit.py @@ -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 )