From 00a721a112c59b80ac5830e3ef101f9c68a4753e Mon Sep 17 00:00:00 2001 From: Spencer Alger Date: Wed, 30 Jul 2014 10:10:41 -0700 Subject: [PATCH] another attempt to prevent failures because of visionmedia/mocha#1292 --- test/integration/yaml_suite/run.js | 2 +- test/unit/specs/http_connector.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/yaml_suite/run.js b/test/integration/yaml_suite/run.js index e0b3d0a75..42f66fce2 100644 --- a/test/integration/yaml_suite/run.js +++ b/test/integration/yaml_suite/run.js @@ -16,7 +16,7 @@ module.exports = function (branch) { // before running any tests... before(function (done) { // start our personal ES Server - this.timeout(0); + this.timeout(5 * 60 * 1000); clientManager.create(branch, done); }); diff --git a/test/unit/specs/http_connector.js b/test/unit/specs/http_connector.js index 517a36a0b..63d7f8839 100644 --- a/test/unit/specs/http_connector.js +++ b/test/unit/specs/http_connector.js @@ -364,7 +364,7 @@ describe('Http Connector', function () { } it('destroys any connections created', function (done) { - this.timeout(0); + this.timeout(5 * 60 * 1000); var cp = require('child_process'); var path = require('path'); var fixture = _.partial(path.join, __dirname, '../../fixtures');