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.
This commit is contained in:
Daniel J. Hofmann 2016-04-11 10:11:19 +02:00 committed by Patrick Niklaus
parent 5dff83c6e9
commit 02f75236cb

View File

@ -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';