Skip to content

Commit

Permalink
Mark slow tests as integration_test
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Mar 7, 2025
1 parent 07111bb commit 5291739
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def test_report_with_failed_reporter_but_finished_jobs(unused_tcp_port):
assert len(mock_server.messages) == 0, "expected 0 Job running messages"


@pytest.mark.integration_test
def test_report_with_reconnected_reporter_but_finished_jobs(unused_tcp_port):
# this is to show when the reporter fails but reconnects
# reporter still manages to send events and completes fine
Expand Down
2 changes: 2 additions & 0 deletions tests/everest/test_everserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def test_configure_logger_failure(_, change_to_tmpdir):
assert "Exception: Configuring logger failed" in status["message"]


@pytest.mark.integration_test
@patch("sys.argv", ["name", "--output-dir", "everest_output"])
@patch("everest.detached.jobs.everserver._configure_loggers")
def test_status_running_complete(_, change_to_tmpdir, mock_server):
Expand Down Expand Up @@ -172,6 +173,7 @@ def test_status_failed_job(_, change_to_tmpdir, mock_server):
assert status["status"] == ServerStatus.failed


@pytest.mark.integration_test
@patch("sys.argv", ["name", "--output-dir", "everest_output"])
@patch("everest.detached.jobs.everserver._configure_loggers")
async def test_status_exception(_, change_to_tmpdir, min_config):
Expand Down

0 comments on commit 5291739

Please sign in to comment.