mirror of
https://github.com/containers/podman.git
synced 2025-12-16 03:57:36 +08:00
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>
This commit is contained in:
@@ -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))
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user