Skip to content

Commit

Permalink
Add asyncio timeout error too
Browse files Browse the repository at this point in the history
  • Loading branch information
raunakab committed Jan 10, 2025
1 parent 1981570 commit ef4f2ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/ci-scripts/job_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ async def wait_on_job(logs, timeout_s) -> bool:
try:
await asyncio.wait_for(print_logs(logs), timeout=timeout_s)
return True
except asyncio.exceptions.TimeoutError:
return False
except TimeoutError:
return False

Expand Down

0 comments on commit ef4f2ae

Please sign in to comment.