Merge pull request #36192 from Crassirostris/kibana-test-fix

Automatic merge from submit-queue

Fixed kibana test problem

After #36103 a problem was introduced. If you change basePath, dynamic bundle optimization is performed upon startup, which can take several minutes.

Following PR fixed this problem by waiting until optimization is completed.

@piosz

Edit: This problem has no known workarounds if basePath is dynamic (like in our case)
Reference: https://discuss.elastic.co/t/how-to-avoid-dynamic-bundle-optimization/37367
This commit is contained in:
Kubernetes Submit Queue 2016-11-04 04:21:19 -07:00 committed by GitHub
commit d76650ad40

View File

@ -50,7 +50,7 @@ const (
// ClusterLevelLoggingWithKibana is an end to end test that checks to see if Kibana is alive.
func ClusterLevelLoggingWithKibana(f *framework.Framework) {
// graceTime is how long to keep retrying requests for status information.
const graceTime = 2 * time.Minute
const graceTime = 10 * time.Minute
// Check for the existence of the Kibana service.
By("Checking the Kibana service exists.")