ci/lava: Skip regression test if LAVA log file is not present
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
This commit is contained in:

committed by
Marge Bot

parent
a893b06691
commit
d6b30d42b0
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user