Merge pull request #2134 from thelounge/xpaw/travis-timeout

Increase test timeout on CI
This commit is contained in:
Jérémie Astori 2018-02-28 18:41:24 -05:00 committed by GitHub
commit 5ed8cc6320
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");
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;