From 02f75236cb547a7f8591853dc22d732ce0f54b91 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Mon, 11 Apr 2016 10:11:19 +0200 Subject: [PATCH] Increase the Cucumber timeout, as we're hitting it on Travis. Our OSX Travis builds seem to hit the 2s timeout from time to time, which is really irritating. This increases the timeout to 5s, hoping for the best. --- features/support/env.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/support/env.js b/features/support/env.js index cae361cd9..5a337bca1 100644 --- a/features/support/env.js +++ b/features/support/env.js @@ -7,7 +7,8 @@ var d3 = require('d3-queue'); module.exports = function () { this.initializeEnv = (callback) => { this.DEFAULT_PORT = 5000; - this.DEFAULT_TIMEOUT = 2000; + // OSX builds on Travis hit a timeout of ~2000 from time to time + this.DEFAULT_TIMEOUT = 5000; this.setDefaultTimeout(this.DEFAULT_TIMEOUT); this.ROOT_FOLDER = process.cwd(); this.OSM_USER = 'osrm';