Merge pull request #3538 from thelounge/xpaw/test-timeout
Increase test timeout due to unpredictable I/O on CI services
This commit is contained in:
commit
6d342b9847
@ -124,6 +124,8 @@ function testLdapAuth() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
describe("LDAP authentication plugin", function() {
|
describe("LDAP authentication plugin", function() {
|
||||||
|
// Increase timeout due to unpredictable I/O on CI services
|
||||||
|
this.timeout(process.env.CI ? 25000 : 5000);
|
||||||
this.slow(200);
|
this.slow(200);
|
||||||
|
|
||||||
let server;
|
let server;
|
||||||
|
@ -7,6 +7,8 @@ const Helper = require("../../src/helper");
|
|||||||
const link = require("../../src/plugins/irc-events/link.js");
|
const link = require("../../src/plugins/irc-events/link.js");
|
||||||
|
|
||||||
describe("Link plugin", function() {
|
describe("Link plugin", function() {
|
||||||
|
// Increase timeout due to unpredictable I/O on CI services
|
||||||
|
this.timeout(process.env.CI ? 25000 : 5000);
|
||||||
this.slow(200);
|
this.slow(200);
|
||||||
|
|
||||||
let app;
|
let app;
|
||||||
|
@ -8,6 +8,9 @@ const Helper = require("../../src/helper");
|
|||||||
const MessageStorage = require("../../src/plugins/messageStorage/sqlite.js");
|
const MessageStorage = require("../../src/plugins/messageStorage/sqlite.js");
|
||||||
|
|
||||||
describe("SQLite Message Storage", function() {
|
describe("SQLite Message Storage", function() {
|
||||||
|
// Increase timeout due to unpredictable I/O on CI services
|
||||||
|
this.timeout(process.env.CI ? 25000 : 5000);
|
||||||
|
|
||||||
const expectedPath = path.join(Helper.getHomePath(), "logs", "testUser.sqlite3");
|
const expectedPath = path.join(Helper.getHomePath(), "logs", "testUser.sqlite3");
|
||||||
let store;
|
let store;
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@ const Helper = require("../../src/helper");
|
|||||||
const link = require("../../src/plugins/irc-events/link.js");
|
const link = require("../../src/plugins/irc-events/link.js");
|
||||||
|
|
||||||
describe("Image storage", function() {
|
describe("Image storage", function() {
|
||||||
|
// Increase timeout due to unpredictable I/O on CI services
|
||||||
|
this.timeout(process.env.CI ? 25000 : 5000);
|
||||||
this.slow(200);
|
this.slow(200);
|
||||||
|
|
||||||
const testImagePath = path.resolve(__dirname, "../../client/img/logo-grey-bg-120x120px.png");
|
const testImagePath = path.resolve(__dirname, "../../client/img/logo-grey-bg-120x120px.png");
|
||||||
|
@ -7,7 +7,7 @@ const got = require("got");
|
|||||||
const io = require("socket.io-client");
|
const io = require("socket.io-client");
|
||||||
|
|
||||||
describe("Server", function() {
|
describe("Server", function() {
|
||||||
// Travis is having issues with slow workers and thus tests timeout
|
// Increase timeout due to unpredictable I/O on CI services
|
||||||
this.timeout(process.env.CI ? 25000 : 5000);
|
this.timeout(process.env.CI ? 25000 : 5000);
|
||||||
|
|
||||||
let server;
|
let server;
|
||||||
|
Loading…
Reference in New Issue
Block a user