Skip to content

Commit 6705d19

Browse files
CARRY: Remove check for restarted pod from test suite
1 parent 7e3ed90 commit 6705d19

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/util/e2e.go

-7
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,6 @@ func WaitForKueueAvailability(ctx context.Context, k8sClient client.Client) {
9494
gomega.EventuallyWithOffset(1, func(g gomega.Gomega) error {
9595
g.Expect(k8sClient.Get(ctx, kcmKey, deployment)).To(gomega.Succeed())
9696
g.Expect(k8sClient.List(ctx, &pods, client.InNamespace(GetNamespace()), client.MatchingLabels(deployment.Spec.Selector.MatchLabels))).To(gomega.Succeed())
97-
for _, pod := range pods.Items {
98-
for _, cs := range pod.Status.ContainerStatuses {
99-
if cs.RestartCount > 0 {
100-
return gomega.StopTrying(fmt.Sprintf("%q in %q has restarted %d times", cs.Name, pod.Name, cs.RestartCount))
101-
}
102-
}
103-
}
10497
g.Expect(deployment.Status.Conditions).To(gomega.ContainElement(gomega.BeComparableTo(
10598
appsv1.DeploymentCondition{
10699
Type: appsv1.DeploymentAvailable,

0 commit comments

Comments
 (0)