Skip to content

Commit

Permalink
Bump timeout for testing-farm watch
Browse files Browse the repository at this point in the history
Before we ran into many timeouts after 5 seconds. Let's hope waiting
longer fixes the issue.
  • Loading branch information
kwk committed Jul 31, 2024
1 parent fab81c8 commit bfb7772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapshot_manager/snapshot_manager/testing_farm_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit bfb7772

Please sign in to comment.