summaryrefslogtreecommitdiff
path: root/tests/frontend
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2018-08-14 15:27:25 +0200
committerValentin David <valentin.david@codethink.co.uk>2018-08-15 15:22:18 +0200
commitc044537669a285cd9732248a56515cef4c8a5acb (patch)
tree1ba5827905a5502325fd5b1b517113feb0c05610 /tests/frontend
parent76f34a633e43790eab6592c5f1385f00c5ba2e83 (diff)
downloadbuildstream-c044537669a285cd9732248a56515cef4c8a5acb.tar.gz
Fix ostree repository mirroringvalentindavid/fallback_mirror_ostree
Ostree mirrors were not sharing the same local repository, so it was impossible the request refs from the right local repository when data was fetched from a mirror rather than upstream. Instead of having several repository with one remote each, we now have one repository with several remotes. This fixes #538.
Diffstat (limited to 'tests/frontend')
-rw-r--r--tests/frontend/mirror.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/frontend/mirror.py b/tests/frontend/mirror.py
index 93e270b4d..f6031cad8 100644
--- a/tests/frontend/mirror.py
+++ b/tests/frontend/mirror.py
@@ -466,10 +466,6 @@ def test_mirror_track_upstream_absent(cli, tmpdir, datafiles, kind):
@pytest.mark.datafiles(DATA_DIR)
@pytest.mark.parametrize("kind", [(kind) for kind in ALL_REPO_KINDS])
def test_mirror_from_includes(cli, tmpdir, datafiles, kind):
- if kind == 'ostree':
- # FIXME: Mirroring fallback fails with ostree
- pytest.skip("Bug #538 - ostree mirror fallback breaks assertion")
-
bin_files_path = os.path.join(str(datafiles), 'files', 'bin-files', 'usr')
upstream_repodir = os.path.join(str(tmpdir), 'upstream')
mirror_repodir = os.path.join(str(tmpdir), 'mirror')