diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-12-16 11:14:42 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-12-16 11:14:42 +0100 |
commit | 5392ff51cc72268f6367f5fc0dd60eafd4bdb8df (patch) | |
tree | 008ac7a646de32e5a541bb7f74a4e6cda1c59c41 /test/e2e | |
parent | 91ef5fb85e29b70c4b0f6c0fadadce37474b5dc0 (diff) | |
download | podman-5392ff51cc72268f6367f5fc0dd60eafd4bdb8df.tar.gz podman-5392ff51cc72268f6367f5fc0dd60eafd4bdb8df.tar.bz2 podman-5392ff51cc72268f6367f5fc0dd60eafd4bdb8df.zip |
e2e: search flake: skip test on registry.redhat.io
The search endpoint on registry.redhat.io is broken.
Skip one test and update another to avoid hitting it.
Also leave some breadcrumbs to revert once it's back
in a working state.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/search_test.go | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go index 5c8e7c064..24272aae5 100644 --- a/test/e2e/search_test.go +++ b/test/e2e/search_test.go @@ -459,12 +459,8 @@ registries = ['{{.Host}}:{{.Port}}']` }) It("podman search with wildcards", func() { - search := podmanTest.Podman([]string{"search", "--limit", "30", "registry.redhat.io/*"}) - search.WaitWithDefaultTimeout() - Expect(search).Should(Exit(0)) - Expect(search.OutputToStringArray()).To(HaveLen(31)) - - search = podmanTest.Podman([]string{"search", "registry.redhat.io/*openshift*"}) + Skip("FIXME: search on registry.redhat.io is broken (Dec 16 '21)") + search := podmanTest.Podman([]string{"search", "registry.redhat.io/*openshift*"}) search.WaitWithDefaultTimeout() Expect(search).Should(Exit(0)) Expect(len(search.OutputToStringArray())).To(BeNumerically(">", 1)) @@ -491,9 +487,9 @@ registries = ['{{.Host}}:{{.Port}}']` }) It("podman search with limit over 100", func() { - search := podmanTest.Podman([]string{"search", "--limit", "130", "registry.redhat.io/rhel"}) + search := podmanTest.Podman([]string{"search", "--limit", "100", "quay.io/podman"}) search.WaitWithDefaultTimeout() Expect(search).Should(Exit(0)) - Expect(len(search.OutputToStringArray())).To(BeNumerically("<=", 131)) + Expect(len(search.OutputToStringArray())).To(BeNumerically("<=", 101)) }) }) |