From dedbe837f29ddfe6d7c0f7628c1fb4ac9dd46b6a Mon Sep 17 00:00:00 2001 From: Mik Vyatskov Date: Tue, 20 Sep 2016 17:37:56 +0200 Subject: [PATCH] Add additional delay to the es logging e2e test to make it stable --- test/e2e/es_cluster_logging.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/e2e/es_cluster_logging.go b/test/e2e/es_cluster_logging.go index 0589e803103..53eace6ba52 100644 --- a/test/e2e/es_cluster_logging.go +++ b/test/e2e/es_cluster_logging.go @@ -219,6 +219,11 @@ func ClusterLevelLoggingWithElasticsearch(f *framework.Framework) { } 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. By("Checking to make sure the Fluentd pod are running on each healthy node") label = labels.SelectorFromSet(labels.Set(map[string]string{k8sAppKey: fluentdValue}))