Skip to content

Commit 20f6543

Browse files
authored
Merge pull request #634 from ReproNim/bf-test-centos
XFAIL 2 centos7 based tests of tracer
2 parents 4892660 + 8460b0c commit 20f6543

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

reproman/distributions/tests/test_redhat.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,11 @@ def test_tracer(docker_container):
186186
assert "foo" in remaining_files
187187
assert dist.name == "redhat"
188188
assert dist.version.startswith("CentOS Linux release 7")
189-
source_ids = [s.id for s in dist.sources]
190-
assert "base/7/x86_64" in source_ids
191-
assert "extras/7/x86_64" in source_ids
192-
assert "updates/7/x86_64" in source_ids
189+
# XFAIL disabled for centos7 -- see the other xfail in this file
190+
# source_ids = [s.id for s in dist.sources]
191+
# assert "base/7/x86_64" in source_ids
192+
# assert "extras/7/x86_64" in source_ids
193+
# assert "updates/7/x86_64" in source_ids
193194
assert dist.packages[0].name == "coreutils"
194195
assert dist.packages[0].group == "System Environment/Base"
195196
assert dist.packages[0].files[0] == "/usr/bin/ls"
@@ -200,6 +201,7 @@ def test_tracer(docker_container):
200201
assert packages["/usr/bin/ls"]["packager"].startswith("CentOS BuildSystem")
201202

202203

204+
@pytest.mark.xfail(reason="centos:7 needs now gone mirrorlist.centos.org")
203205
def test_distribution(docker_container, centos_spec):
204206
from ...resource.docker_container import DockerContainer
205207

0 commit comments

Comments
 (0)