mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #20773 from justinsb/fix/e2e_pods_to_be_ready_format
Auto commit by PR queue bot
This commit is contained in:
commit
14e2c2b740
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user