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
gomega.Expect(pods.Items[i].Labels).To(gomega.HaveKeyWithValue(appsv1.StatefulSetRevisionLabel, currentRevision), "Pod %s/%s revision %s is not equal to currentRevision %s",
360
364
pods.Items[i].Namespace,
@@ -443,7 +447,9 @@ var _ = SIGDescribe("StatefulSet", func() {
gomega.Expect(pods.Items[i].Labels).To(gomega.HaveKeyWithValue(appsv1.StatefulSetRevisionLabel, currentRevision), "Pod %s/%s revision %s is not equal to current revision %s",
586
594
pods.Items[i].Namespace,
@@ -595,7 +603,9 @@ var _ = SIGDescribe("StatefulSet", func() {
gomega.Expect(pods.Items[i].Labels).To(gomega.HaveKeyWithValue(appsv1.StatefulSetRevisionLabel, currentRevision), "Pod %s/%s revision %s is not equal to current revision %s",
601
611
pods.Items[i].Namespace,
@@ -624,7 +634,9 @@ var _ = SIGDescribe("StatefulSet", func() {
gomega.Expect(pods.Items[i].Labels).To(gomega.HaveKeyWithValue(appsv1.StatefulSetRevisionLabel, currentRevision), "Pod %s/%s revision %s is not equal to current revision %s",
2176
2198
pods.Items[i].Namespace,
@@ -2198,7 +2220,9 @@ func rollbackTest(ctx context.Context, c clientset.Interface, ns string, ss *app
2198
2220
gomega.Expect(currentRevision).NotTo(gomega.Equal(updateRevision), "Current revision should not equal update revision during rolling update")
2199
2221
2200
2222
ginkgo.By("Updating Pods in reverse ordinal order")
2201
-
pods=e2estatefulset.GetPodList(ctx, c, ss)
2223
+
pods, err=e2estatefulset.GetPodList(ctx, c, ss)
2224
+
framework.ExpectNoError(err)
2225
+
2202
2226
e2estatefulset.SortStatefulPods(pods)
2203
2227
err=restorePodHTTPProbe(ss, &pods.Items[1])
2204
2228
framework.ExpectNoError(err)
@@ -2237,7 +2261,9 @@ func rollbackTest(ctx context.Context, c clientset.Interface, ns string, ss *app
2237
2261
gomega.Expect(currentRevision).NotTo(gomega.Equal(updateRevision), "Current revision should not equal update revision during roll back")
2238
2262
2239
2263
ginkgo.By("Rolling back update in reverse ordinal order")
gomega.Expect(currentRevision).To(gomega.Equal(updateRevision), fmt.Sprintf("StatefulSet %s/%s created with update revision %s not equal to current revision %s",
gomega.Expect(pods.Items[i].Labels[appsv1.StatefulSetRevisionLabel]).To(gomega.Equal(currentRevision), fmt.Sprintf("Pod %s/%s revision %s is not equal to currentRevision %s",
2286
2314
pods.Items[i].Namespace,
@@ -2372,7 +2400,9 @@ func deletingPodForRollingUpdatePartitionTest(ctx context.Context, f *framework.
2372
2400
})
2373
2401
2374
2402
ginkgo.By("Verify pod images after pod-0 deletion and recreation")
0 commit comments