Skip to content

Commit

Permalink
Increasing timeout for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Perki committed Apr 20, 2024
1 parent 4e6fadb commit 7d3567b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require('path');
module.exports = {
exit: true,
slow: 75,
timeout: 3000,
timeout: 20000,
ui: 'bdd',
diff: true,
reporter: 'spec',
Expand Down
4 changes: 2 additions & 2 deletions components/pryv-monitor/test/monitor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
require('./load-helpers');

describe('Monitor', function () {
this.timeout(3000);
this.timeout(20000);

before(async function () {
this.timeout(15000);
this.timeout(20000);
await prepareAndCreateBaseStreams();
});

Expand Down
2 changes: 1 addition & 1 deletion components/pryv-monitor/test/socket.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require('./load-helpers');
require('@pryv/socket.io')(pryv);

describe('Monitor + Socket.IO', function () {
this.timeout(3000);
this.timeout(20000);

before(async () => {
await prepareAndCreateBaseStreams();
Expand Down
4 changes: 2 additions & 2 deletions components/pryv-monitor/test/timer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
require('./load-helpers');

describe('Monitor + EventsTimer', function () {
this.timeout(3000);
this.timeout(20000);

before(async () => {
await prepareAndCreateBaseStreams();
Expand Down Expand Up @@ -60,7 +60,7 @@ describe('Monitor + EventsTimer', function () {

describe('stop', () => {
it('Monitor stops when requested', async function () {
this.timeout(4000);
this.timeout(20000);
const monitor = await new pryv.Monitor(apiEndpoint, { limit: 1 })
.addUpdateMethod(new pryv.Monitor.UpdateMethod.EventsTimer(1));
await monitor.start();
Expand Down
2 changes: 1 addition & 1 deletion components/pryv-socket.io/test/socket.io.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let conn = null;
const testStreamId = 'socket-test';

describe('Socket.IO', function () {
this.timeout(3000);
this.timeout(20000);
let apiEndpoint;
let apiEndpointBogusToken;
let apiEndpointBogusUsername;
Expand Down

0 comments on commit 7d3567b

Please sign in to comment.