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
In the conformance test suite, currently pod ready status is used
to determine whether tests should be commenced. However, in some
testbeds, listing pods in a namespace when the a StatefulSet has
just been created will return empty list, thus bypassing the pod
ready test, causing subsequent tests to fail.
This PR changes the readiness check to use the StatefulSet replica
count in its status.
Signed-off-by: Dyanngg <[email protected]>
t.Logf("StatefulSet replicas in namespace %s not rolled out yet. %d/%d replicas are available.", ns, statefulSet.Status.ReadyReplicas, numStatufulSetReplicas)
96
+
returnfalse, nil
93
97
}
94
98
}
95
-
t.Logf("Namespaces and Pods in %s namespaces ready", strings.Join(namespaces, ", "))
99
+
t.Logf("Namespaces and Pods in %s namespaces are ready", strings.Join(namespaces, ", "))
96
100
returntrue, nil
97
101
})
98
102
require.NoErrorf(t, waitErr, "error waiting for %s namespaces to be ready", strings.Join(namespaces, ", "))
0 commit comments