From 75f5ece979036f4fc98adda090903c5a10a4f7c6 Mon Sep 17 00:00:00 2001 From: Court Ewing Date: Mon, 29 Feb 2016 14:34:28 -0500 Subject: [PATCH] Longer timeout in es routes test setup It can take longer than 10 seconds for kibana to be ready, but that doesn't mean we fail the tests. Fixes #6361 --- src/plugins/elasticsearch/lib/__tests__/routes.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/elasticsearch/lib/__tests__/routes.js b/src/plugins/elasticsearch/lib/__tests__/routes.js index e5534c478d6b1..6b1ec512be12d 100644 --- a/src/plugins/elasticsearch/lib/__tests__/routes.js +++ b/src/plugins/elasticsearch/lib/__tests__/routes.js @@ -12,6 +12,8 @@ describe('plugins/elasticsearch', function () { let kbnServer; before(function () { + this.timeout(15000); // sometimes waiting for server takes longer than 10 + kbnServer = kbnTestServer.createServer(); return kbnServer.ready() .then(() => kbnServer.server.plugins.elasticsearch.waitUntilReady());