mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Increase timeout for Elasticsearch service
This commit is contained in:
parent
9bbf0b1546
commit
835e26510d
@ -71,7 +71,7 @@ func ClusterLevelLoggingWithElasticsearch(c *client.Client) {
|
||||
// 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.
|
||||
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) {
|
||||
if _, err = s.Get("elasticsearch-logging"); err == nil {
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user