summaryrefslogtreecommitdiff
path: root/tests/frontend
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2018-08-14 15:27:25 +0200
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2018-08-16 07:43:07 +0000
commitc0431f15c3ee6910726e9b75abc784582a866d41 (patch)
treea9fa42a9b81daa98dfea06e1c46ce20dcb4d5f62 /tests/frontend
parentd4706096abffe54855269f16261aba06b5fa09b6 (diff)
downloadbuildstream-c0431f15c3ee6910726e9b75abc784582a866d41.tar.gz
Fix ostree repository mirroring
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')