mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
Add additional delay to the es logging e2e test to make it stable
This commit is contained in:
parent
46197a5d13
commit
dedbe837f2
@ -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}))
|
||||||
|
Loading…
Reference in New Issue
Block a user