Commit 6184ebdc authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #33098 from Crassirostris/e2e-logging-test-fix

Automatic merge from submit-queue Add additional delay to the es logging e2e test to make it stable Fix #32804
parents 1d5a7f59 dedbe837
...@@ -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