Skip to content

Commit

Permalink
Increase number of reruns and timeout time for ubuntu runners
Browse files Browse the repository at this point in the history
  • Loading branch information
glatterf42 committed Aug 2, 2023
1 parent b5e93b7 commit 9e5845a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions message_ix/tests/test_tutorials.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

# Affects all tests in the file
pytestmark = pytest.mark.flaky(
reruns=3,
reruns=5,
rerun_delay=2,
condition=GHA,
reason="Flaky; fails occasionally on GitHub Actions runners",
Expand Down Expand Up @@ -121,7 +121,7 @@ def nb_path(request, tutorial_path):

def default_args():
"""Default arguments for :func:`.run_notebook."""
if GHA and sys.platform in ("darwin", "win32"):
if GHA:
# Use a longer timeout
return dict(timeout=30)
else:
Expand Down

0 comments on commit 9e5845a

Please sign in to comment.