Commit 14e2c2b7 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #20773 from justinsb/fix/e2e_pods_to_be_ready_format

Auto commit by PR queue bot
parents 0ab09296 051ff6aa
......@@ -1758,7 +1758,7 @@ func (j *ServiceTestJig) waitForPodsCreated(namespace string, replicas int) ([]s
func (j *ServiceTestJig) waitForPodsReady(namespace string, pods []string) error {
timeout := 2 * time.Minute
if !checkPodsRunningReady(j.Client, namespace, pods, timeout) {
return fmt.Errorf("Timeout waiting for %d pods to be ready")
return fmt.Errorf("Timeout waiting for %d pods to be ready", len(pods))
}
return nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment