@@ -124,7 +124,7 @@ var _ = SIGDescribe("Servers with support for API chunking", func() {
opts:=metav1.ListOptions{}
opts.Limit=oneTenth
list,err:=client.List(opts)
gomega.Expect(err).ToNot(gomega.HaveOccurred(),"failed to list pod templates in namespace: %s, given limit: %d",ns,opts.Limit)
framework.ExpectNoError(err,"failed to list pod templates in namespace: %s, given limit: %d",ns,opts.Limit)
firstToken:=list.Continue
firstRV:=list.ResourceVersion
iflist.GetContinue()==""{
...
...
@@ -163,7 +163,7 @@ var _ = SIGDescribe("Servers with support for API chunking", func() {
ginkgo.By("retrieving the second page again with the token received with the error message")
opts.Continue=inconsistentToken
list,err=client.List(opts)
gomega.Expect(err).ToNot(gomega.HaveOccurred(),"failed to list pod templates in namespace: %s, given inconsistent continue token %s and limit: %d",ns,opts.Continue,opts.Limit)
framework.ExpectNoError(err,"failed to list pod templates in namespace: %s, given inconsistent continue token %s and limit: %d",ns,opts.Continue,opts.Limit)