Commit fafcf79d authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Allow more retries in density test

parent 23f2401b
......@@ -257,7 +257,6 @@ func writeJSON(statusCode int, codec runtime.Codec, object runtime.Object, w htt
return
}
w.Header().Set("Content-Type", "application/json")
glog.Infof("Writting status code: %d", statusCode)
w.WriteHeader(statusCode)
w.Write(formatted.Bytes())
}
......
......@@ -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 {
......
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