From fb1710740637ce0d9a44b167e8f3a00c8bdbffb7 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Wed, 28 Feb 2018 22:42:21 +0200 Subject: [PATCH] Increase test timeout on CI --- test/server.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/server.js b/test/server.js index ef0aa611..35fa66b0 100644 --- a/test/server.js +++ b/test/server.js @@ -6,7 +6,9 @@ const request = require("request"); const io = require("socket.io-client"); 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 originalLogInfo;