Skip to content

Commit

Permalink
Mark tests taking more than a second as integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Dec 10, 2024
1 parent 5246d15 commit a156a6b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/ert/unit_tests/config/test_ert_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ def test_that_ert_config_has_valid_schema():

@pytest.mark.filterwarnings("ignore::ert.config.ConfigWarning")
@pytest.mark.usefixtures("set_site_config")
@pytest.mark.integration_test
@settings(max_examples=10)
@given(config_generators())
def test_that_parsing_ert_config_result_in_expected_values(
Expand Down
1 change: 1 addition & 0 deletions tests/ert/unit_tests/config/test_forward_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ def test_forward_model_arglist_with_weird_characters():
]


@pytest.mark.integration_test
@settings(max_examples=10)
@given(config_generators())
def test_ert_config_throws_on_missing_forward_model_step(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def sizeHint(self, option, index) -> QSize:
return self._size


@pytest.mark.integration_test
def test_delegate_drawing_count(small_snapshot, qtbot):
it = 0
widget = RealizationWidget(it)
Expand Down
1 change: 1 addition & 0 deletions tests/ert/unit_tests/scheduler/test_local_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ async def test_kill_before_running(sleep_before_killing):


@pytest.mark.timeout(10)
@pytest.mark.integration_test
async def test_kill_unresponsive_process(monkeypatch, tmp_path):
# Reduce timeout to something more appropriate for a test
monkeypatch.setattr(local_driver, "_TERMINATE_TIMEOUT", 0.1)
Expand Down

0 comments on commit a156a6b

Please sign in to comment.