diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-09 11:55:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 11:55:19 -0400 |
commit | 784e1ae137587ba7130eff315ebd6965e444da03 (patch) | |
tree | 9af4643e1e3a2260cadd9fa1cea331a34909aac1 /test | |
parent | d477fe5caeaa9205ccc0a1f70dd46ea4dbe8a1ba (diff) | |
parent | e5468d404c77379cb8d2fd0c5fad80da976725eb (diff) | |
download | podman-784e1ae137587ba7130eff315ebd6965e444da03.tar.gz podman-784e1ae137587ba7130eff315ebd6965e444da03.tar.bz2 podman-784e1ae137587ba7130eff315ebd6965e444da03.zip |
Merge pull request #11502 from vrothberg/vendor-mpb
vendor mpb@v7.1.4
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/search_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go index b0faabf6c..f82c3d9d1 100644 --- a/test/e2e/search_test.go +++ b/test/e2e/search_test.go @@ -148,7 +148,7 @@ registries = ['{{.Host}}:{{.Port}}']` search := podmanTest.Podman([]string{"search", "docker.io/alpine"}) search.WaitWithDefaultTimeout() Expect(search).Should(Exit(0)) - Expect(len(search.OutputToStringArray())).To(Equal(26)) + Expect(len(search.OutputToStringArray())).To(BeNumerically(">", 10)) search = podmanTest.Podman([]string{"search", "--limit", "3", "docker.io/alpine"}) search.WaitWithDefaultTimeout() @@ -462,7 +462,7 @@ registries = ['{{.Host}}:{{.Port}}']` search = podmanTest.Podman([]string{"search", "--list-tags", "docker.io/library/alpine"}) search.WaitWithDefaultTimeout() Expect(search).Should(Exit(0)) - Expect(len(search.OutputToStringArray()) > 2).To(BeTrue()) + Expect(len(search.OutputToStringArray())).To(BeNumerically(">", 2)) search = podmanTest.Podman([]string{"search", "--filter=is-official", "--list-tags", "docker.io/library/alpine"}) search.WaitWithDefaultTimeout() @@ -477,6 +477,6 @@ registries = ['{{.Host}}:{{.Port}}']` search := podmanTest.Podman([]string{"search", "--limit", "130", "registry.redhat.io/rhel"}) search.WaitWithDefaultTimeout() Expect(search).Should(Exit(0)) - Expect(len(search.OutputToStringArray())).To(Equal(131)) + Expect(len(search.OutputToStringArray())).To(BeNumerically("<=", 131)) }) }) |