Skip to content

Commit

Permalink
Longer timeout in es routes test setup
Browse files Browse the repository at this point in the history
It can take longer than 10 seconds for kibana to be ready, but that
doesn't mean we fail the tests.

Fixes #6361
  • Loading branch information
epixa authored and Spencer Alger committed Feb 29, 2016
1 parent 8ffc8f5 commit 75f5ece
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/elasticsearch/lib/__tests__/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 75f5ece

Please sign in to comment.