From 8765ed6ca9c70944a4b63f4c095ed9d5b29fec1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kl=C3=B6tzke?= Date: Fri, 17 Nov 2023 21:48:40 +0100 Subject: [PATCH] test: increase timeouts for Jenkins integration test Looks like Windows sometimes needs more time. --- test/integration/jenkins/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/jenkins/run.py b/test/integration/jenkins/run.py index c18cd7366..448020f00 100644 --- a/test/integration/jenkins/run.py +++ b/test/integration/jenkins/run.py @@ -83,7 +83,7 @@ def getIdleStatus(self): return q['computer'][0]['idle'] def drainBuildQueue(self): - for i in range(30): + for i in range(120): time.sleep(1) q = self.getBuildQueue() if q is None: @@ -327,7 +327,7 @@ def download(url, dest): print("[TEST]:", "Jenkins running as pid", jenkinsProc.pid, "in", jenkinsHome) print("[TEST]:", "Waiting for Jenkins to get ready...") - for i in range(60): + for i in range(120): time.sleep(1) try: jc = JenkinsConnection("http://localhost:8080/", "bob", "test")