Skip to content

Commit

Permalink
Merge pull request #356 from ecmwf-ifs/naml-disable-timeout-test-on-m…
Browse files Browse the repository at this point in the history
…acos

Tools: Disable timeout utility test on MacOS due to sporadic failures
  • Loading branch information
mlange05 authored Aug 7, 2024
2 parents 117c5d1 + 3676e92 commit abf7968
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions loki/tools/tests/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
Unit tests for utility functions and classes in loki.tools.
"""

import platform
import sys
import operator as op
from contextlib import contextmanager
Expand Down Expand Up @@ -310,6 +311,9 @@ def test_execute(here, capsys):
execute(cmd)


@pytest.mark.skipif(platform.system() == 'Darwin',
reason='Timeout utility test sporadically fails on MacOS CI runners.'
)
def test_timeout():
# Should not trigger:
start = perf_counter()
Expand Down

0 comments on commit abf7968

Please sign in to comment.