summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci/tests/test_lava_job_submitter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci/tests/test_lava_job_submitter.py b/.gitlab-ci/tests/test_lava_job_submitter.py
index f8208a3a781..945110eb1b8 100644
--- a/.gitlab-ci/tests/test_lava_job_submitter.py
+++ b/.gitlab-ci/tests/test_lava_job_submitter.py
@@ -329,6 +329,9 @@ def test_parse_job_result_from_log(message, expectation, mock_proxy):
@pytest.mark.slow(
reason="Slow and sketchy test. Needs a LAVA log raw file at /tmp/log.yaml"
)
+@pytest.mark.skipif(
+ not Path("/tmp/log.yaml").is_file(), reason="Missing /tmp/log.yaml file."
+)
def test_full_yaml_log(mock_proxy, frozen_time, lava_job_submitter):
import random