diff options
author | Valentin David <valentin.david@codethink.co.uk> | 2018-08-14 15:27:25 +0200 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2018-08-16 07:43:07 +0000 |
commit | c0431f15c3ee6910726e9b75abc784582a866d41 (patch) | |
tree | a9fa42a9b81daa98dfea06e1c46ce20dcb4d5f62 /tests/frontend | |
parent | d4706096abffe54855269f16261aba06b5fa09b6 (diff) | |
download | buildstream-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.py | 4 |
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') |