Commit dedbe837 authored by Mik Vyatskov's avatar Mik Vyatskov

Add additional delay to the es logging e2e test to make it stable

parent 46197a5d
...@@ -219,6 +219,11 @@ func ClusterLevelLoggingWithElasticsearch(f *framework.Framework) { ...@@ -219,6 +219,11 @@ func ClusterLevelLoggingWithElasticsearch(f *framework.Framework) {
} }
framework.Logf("Found %d healthy nodes.", len(nodes.Items)) framework.Logf("Found %d healthy nodes.", len(nodes.Items))
// TODO: Figure out why initialization time influences
// results of the test and remove this step
By("Wait some more time to ensure ES and fluentd are ready")
time.Sleep(2 * time.Minute)
// Wait for the Fluentd pods to enter the running state. // Wait for the Fluentd pods to enter the running state.
By("Checking to make sure the Fluentd pod are running on each healthy node") By("Checking to make sure the Fluentd pod are running on each healthy node")
label = labels.SelectorFromSet(labels.Set(map[string]string{k8sAppKey: fluentdValue})) label = labels.SelectorFromSet(labels.Set(map[string]string{k8sAppKey: fluentdValue}))
......
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