From 037be96718007d8593f8e8d308343576adff284b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 20 Jan 2016 08:49:25 +0100 Subject: [PATCH] tests: Increase testprocess.start timeout on CI. Under some circumstances, starting qutebrowser needs more than 30 seconds there. --- tests/integration/testprocess.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/testprocess.py b/tests/integration/testprocess.py index d242a0f95..80da2a10d 100644 --- a/tests/integration/testprocess.py +++ b/tests/integration/testprocess.py @@ -216,7 +216,8 @@ class Process(QObject): def start(self, args=None, *, env=None): """Start the process and wait until it started.""" self._start(args, env=env) - for _ in range(30): + timeout = 60 if 'CI' in os.environ else 20 + for _ in range(timeout): with self._wait_signal(self.ready, timeout=1000, raising=False) as blocker: pass