aboutsummaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-02-05 13:04:35 -0500
committerChris Evich <cevich@redhat.com>2019-02-07 09:50:45 -0500
commit038364c6e321a75fbab3df34b8e62c247085774b (patch)
treec4a95f460ad4dce060073c868e9a26d607c176b3 /test/e2e
parent01f436ca4707569e9f8c3d08fb0a057aa62ea059 (diff)
downloadpodman-038364c6e321a75fbab3df34b8e62c247085774b.tar.gz
podman-038364c6e321a75fbab3df34b8e62c247085774b.tar.bz2
podman-038364c6e321a75fbab3df34b8e62c247085774b.zip
Fix down/missing registry.access.redhat.com
This registry responds differently depending on the the platform accessing it. It also occasionally goes down or returns 404s. Improve the reliability of the e2e tests by using the registry/image used for gating pull-requests. This way, if there's a registry/networking problem, the gating test will fail and prevent anything else from running. This is a better failure to have early, rather than wait and need to re-run all the e2e tests again later. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/search_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go
index 1438fd97b..167f8fa25 100644
--- a/test/e2e/search_test.go
+++ b/test/e2e/search_test.go
@@ -63,10 +63,10 @@ var _ = Describe("Podman search", func() {
})
It("podman search single registry flag", func() {
- search := podmanTest.Podman([]string{"search", "registry.access.redhat.com/rhel7"})
+ search := podmanTest.Podman([]string{"search", "quay.io/libpod/gate:latest"})
search.WaitWithDefaultTimeout()
Expect(search.ExitCode()).To(Equal(0))
- Expect(search.LineInOutputContains("registry.access.redhat.com/rhel7")).To(BeTrue())
+ Expect(search.LineInOutputContains("quay.io/libpod/gate")).To(BeTrue())
})
It("podman search format flag", func() {