You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It("should support continue listing from the last key if the original version has been compacted away, though the list is inconsistent", func() {
110
+
ginkgo.It("should support continue listing from the last key if the original version has been compacted away, though the list is inconsistent", func() {
111
111
ns:=f.Namespace.Name
112
112
c:=f.ClientSet
113
113
client:=c.CoreV1().PodTemplates(ns)
114
114
115
-
By("retrieving the first page")
115
+
ginkgo.By("retrieving the first page")
116
116
oneTenth:=int64(numberOfTotalResources/10)
117
117
opts:= metav1.ListOptions{}
118
118
opts.Limit=oneTenth
119
119
list, err:=client.List(opts)
120
-
Expect(err).ToNot(HaveOccurred(), "failed to list pod templates in namespace: %s, given limit: %d", ns, opts.Limit)
120
+
gomega.Expect(err).ToNot(gomega.HaveOccurred(), "failed to list pod templates in namespace: %s, given limit: %d", ns, opts.Limit)
121
121
firstToken:=list.Continue
122
122
firstRV:=list.ResourceVersion
123
123
framework.Logf("Retrieved %d/%d results with rv %s and continue %s", len(list.Items), opts.Limit, list.ResourceVersion, firstToken)
124
124
125
-
By("retrieving the second page until the token expires")
125
+
ginkgo.By("retrieving the second page until the token expires")
@@ -147,36 +147,36 @@ var _ = SIGDescribe("Servers with support for API chunking", func() {
147
147
returntrue, nil
148
148
})
149
149
150
-
By("retrieving the second page again with the token received with the error message")
150
+
ginkgo.By("retrieving the second page again with the token received with the error message")
151
151
opts.Continue=inconsistentToken
152
152
list, err=client.List(opts)
153
-
Expect(err).ToNot(HaveOccurred(), "failed to list pod templates in namespace: %s, given inconsistent continue token %s and limit: %d", ns, opts.Continue, opts.Limit)
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)
0 commit comments