Skip to content

Commit

Permalink
Ensure no hypothesis timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Oct 7, 2024
1 parent 8a87277 commit 22f257b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,23 @@

import cwrap
import pytest
from hypothesis import HealthCheck, settings
from resdata import ResDataType
from resdata.grid import GridGenerator
from resdata.resfile import ResdataKW

from tests import legacy_test_data

# Timeout settings are unreliable both on CI and
# when running pytest with xdist so we disable it
settings.register_profile(
"no_timeouts",
deadline=None,
suppress_health_check=[HealthCheck.too_slow],
print_blob=True,
)
settings.load_profile("no_timeouts")


@pytest.fixture(name="test_data_root")
def fixture_test_data_root():
Expand Down

0 comments on commit 22f257b

Please sign in to comment.