Commit 835e2651 authored by Satnam Singh's avatar Satnam Singh

Increase timeout for Elasticsearch service

parent 9bbf0b15
...@@ -71,7 +71,7 @@ func ClusterLevelLoggingWithElasticsearch(c *client.Client) { ...@@ -71,7 +71,7 @@ func ClusterLevelLoggingWithElasticsearch(c *client.Client) {
// Make a few attempts to connect. This makes the test robust against // Make a few attempts to connect. This makes the test robust against
// being run as the first e2e test just after the e2e cluster has been created. // being run as the first e2e test just after the e2e cluster has been created.
var err error var err error
const graceTime = 5 * time.Minute const graceTime = 10 * time.Minute
for start := time.Now(); time.Since(start) < graceTime; time.Sleep(5 * time.Second) { for start := time.Now(); time.Since(start) < graceTime; time.Sleep(5 * time.Second) {
if _, err = s.Get("elasticsearch-logging"); err == nil { if _, err = s.Get("elasticsearch-logging"); err == nil {
break break
......
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