From bfb77725848a666ffec2f00c95d8af76b8e5473b Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Wed, 31 Jul 2024 13:04:17 +0200 Subject: [PATCH] Bump timeout for testing-farm watch Before we ran into many timeouts after 5 seconds. Let's hope waiting longer fixes the issue. --- snapshot_manager/snapshot_manager/testing_farm_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapshot_manager/snapshot_manager/testing_farm_util.py b/snapshot_manager/snapshot_manager/testing_farm_util.py index 37e5e65f..e69ed8b1 100644 --- a/snapshot_manager/snapshot_manager/testing_farm_util.py +++ b/snapshot_manager/snapshot_manager/testing_farm_util.py @@ -223,7 +223,7 @@ def watch(self) -> tuple["TestingFarmWatchResult", str]: request_id = sanitize_request_id(request_id=self.request_id) cmd = f"testing-farm watch --no-wait --id {self.request_id}" # We ignore the exit code because in case of a test error, 1 is the exit code - _, stdout, stderr = util.run_cmd(cmd=cmd) + _, stdout, stderr = util.run_cmd(cmd=cmd, timeout_secs=20) watch_result, artifacts_url = TestingFarmWatchResult.from_output(stdout) if watch_result is None: raise SystemError(