summaryrefslogtreecommitdiff
path: root/test/e2e/search_test.go
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2020-10-30 10:48:07 -0400
committerQi Wang <qiwan@redhat.com>2020-10-30 11:00:40 -0400
commitcab33cfbf6a729778afd6740e81df4f647514214 (patch)
tree96812011f71e1c049e7892b0177d85b73c4e67b5 /test/e2e/search_test.go
parent228396a99dc88fc828f23d4072a46ca8de90282f (diff)
downloadpodman-cab33cfbf6a729778afd6740e81df4f647514214.tar.gz
podman-cab33cfbf6a729778afd6740e81df4f647514214.tar.bz2
podman-cab33cfbf6a729778afd6740e81df4f647514214.zip
Remove search limit since pagination support
Remove the search limit check since the c/image v5.6.0 supports pagination and can give result over 100 entries. Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'test/e2e/search_test.go')
-rw-r--r--test/e2e/search_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go
index 4f2751099..424a191c5 100644
--- a/test/e2e/search_test.go
+++ b/test/e2e/search_test.go
@@ -460,4 +460,11 @@ registries = ['{{.Host}}:{{.Port}}']`
search.WaitWithDefaultTimeout()
Expect(len(search.OutputToStringArray()) == 0).To(BeTrue())
})
+
+ It("podman search with limit over 100", func() {
+ search := podmanTest.Podman([]string{"search", "--limit", "130", "registry.redhat.io/rhel"})
+ search.WaitWithDefaultTimeout()
+ Expect(search.ExitCode()).To(Equal(0))
+ Expect(len(search.OutputToStringArray())).To(Equal(131))
+ })
})