Increase test timeout on CI

This commit is contained in:
Pavel Djundik 2018-02-28 22:42:21 +02:00 committed by GitHub
parent 00681e876f
commit fb17107406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,9 @@ const request = require("request");
const io = require("socket.io-client"); const io = require("socket.io-client");
describe("Server", function() { describe("Server", function() {
this.timeout(5000); // Travis is having issues with slow workers and thus tests timeout
this.timeout(process.env.CI ? 25000 : 5000);
let server; let server;
let originalLogInfo; let originalLogInfo;