mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
Allow more retries in density test
This commit is contained in:
@@ -36,7 +36,7 @@ import (
|
||||
|
||||
// Convenient wrapper around listing pods supporting retries.
|
||||
func listPods(c *client.Client, namespace string, label labels.Selector) (*api.PodList, error) {
|
||||
maxRetries := 2
|
||||
maxRetries := 4
|
||||
pods, err := c.Pods(namespace).List(label)
|
||||
for i := 0; i < maxRetries; i++ {
|
||||
if err == nil {
|
||||
|
Reference in New Issue
Block a user