Allow more retries in density test

This commit is contained in:
Wojciech Tyczynski
2015-04-17 12:35:56 +02:00
parent 23f2401b45
commit fafcf79d5d
2 changed files with 1 additions and 2 deletions

View File

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