Merge pull request #20773 from justinsb/fix/e2e_pods_to_be_ready_format

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2016-02-08 00:03:46 -08:00
commit 14e2c2b740

View File

@ -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
}