From 9e5845a8b94e80947c661ecedda04776e6327b53 Mon Sep 17 00:00:00 2001 From: Fridolin Glatter Date: Wed, 2 Aug 2023 15:54:25 +0200 Subject: [PATCH] Increase number of reruns and timeout time for ubuntu runners --- message_ix/tests/test_tutorials.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/message_ix/tests/test_tutorials.py b/message_ix/tests/test_tutorials.py index 1ade463cd..29ebb0fb9 100644 --- a/message_ix/tests/test_tutorials.py +++ b/message_ix/tests/test_tutorials.py @@ -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", @@ -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: