Skip to content
Snippets Groups Projects
Commit 5c71e5b2 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

browse/tests: Mark a test as flaky with pytest

test_get_snapshot_context_with_origin sometimes fails due to
a date comparison issue (seconds might be offset by 1).
parent 9f3edb45
No related branches found
No related tags found
No related merge requests found
Pipeline #10306 failed
......@@ -5,6 +5,8 @@
import random
import pytest
from swh.model.hashutil import hash_to_bytes
from swh.model.model import (
Release,
......@@ -171,6 +173,7 @@ def test_get_snapshot_context_no_origin(archive_data, snapshot):
)
@pytest.mark.xfail # flaky test
def test_get_snapshot_context_with_origin(archive_data, origin_with_multiple_visits):
origin_visits = get_origin_visits(origin_with_multiple_visits["url"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment