From 59d527c92a4ac0d1bc59ba38e503ca1e7e6e8744 Mon Sep 17 00:00:00 2001 From: Eivind Jahren Date: Mon, 7 Oct 2024 13:41:22 +0200 Subject: [PATCH] Use tmpdir for test_cpu_seconds_can_detect_multiprocess --- tests/unit_tests/forward_model_runner/test_job.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit_tests/forward_model_runner/test_job.py b/tests/unit_tests/forward_model_runner/test_job.py index 01b65aa6752..76976f216b2 100644 --- a/tests/unit_tests/forward_model_runner/test_job.py +++ b/tests/unit_tests/forward_model_runner/test_job.py @@ -43,6 +43,7 @@ def test_run_with_process_failing( @pytest.mark.flaky(reruns=5) @pytest.mark.integration_test +@pytest.mark.usefixtures("use_tmpdir") def test_cpu_seconds_can_detect_multiprocess(): """Run a job that sets of two simultaneous processes that each run for 1 second. We should be able to detect the total