Skip to content

Commit

Permalink
Increase timeout for 3.9 and 3.10 Refleaks runs (#545)
Browse files Browse the repository at this point in the history
These version have monolithic `test_asyncio` and some builders are hitting the 45min limit.

Fix-up for c49ec21
  • Loading branch information
encukou authored Oct 25, 2024
1 parent 66021c6 commit cef8b34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions master/custom/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ def setup(self, parallel, branch, test_with_PTY=False, **kwargs):
# Adjust the timeout for this worker
self.test_timeout *= kwargs.get("timeout_factor", 1)

# In 3.9 and 3.10, test_asyncio wasn't split out, and refleaks tests
# need more time.
if branch in ("3.9", "3.10") and has_option("-R", self.testFlags):
self.test_timeout *= 2

if self.build_out_of_tree:
self.addStep(
ShellCommand(
Expand Down

0 comments on commit cef8b34

Please sign in to comment.