Skip to content

Commit 7d3567b

Browse files
author
Perki
committed
Increasing timeout for CI
1 parent 4e6fadb commit 7d3567b

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.mocharc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const path = require('path');
33
module.exports = {
44
exit: true,
55
slow: 75,
6-
timeout: 3000,
6+
timeout: 20000,
77
ui: 'bdd',
88
diff: true,
99
reporter: 'spec',

components/pryv-monitor/test/monitor.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
require('./load-helpers');
88

99
describe('Monitor', function () {
10-
this.timeout(3000);
10+
this.timeout(20000);
1111

1212
before(async function () {
13-
this.timeout(15000);
13+
this.timeout(20000);
1414
await prepareAndCreateBaseStreams();
1515
});
1616

components/pryv-monitor/test/socket.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require('./load-helpers');
88
require('@pryv/socket.io')(pryv);
99

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

1313
before(async () => {
1414
await prepareAndCreateBaseStreams();

components/pryv-monitor/test/timer.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
require('./load-helpers');
88

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

1212
before(async () => {
1313
await prepareAndCreateBaseStreams();
@@ -60,7 +60,7 @@ describe('Monitor + EventsTimer', function () {
6060

6161
describe('stop', () => {
6262
it('Monitor stops when requested', async function () {
63-
this.timeout(4000);
63+
this.timeout(20000);
6464
const monitor = await new pryv.Monitor(apiEndpoint, { limit: 1 })
6565
.addUpdateMethod(new pryv.Monitor.UpdateMethod.EventsTimer(1));
6666
await monitor.start();

components/pryv-socket.io/test/socket.io.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let conn = null;
1313
const testStreamId = 'socket-test';
1414

1515
describe('Socket.IO', function () {
16-
this.timeout(3000);
16+
this.timeout(20000);
1717
let apiEndpoint;
1818
let apiEndpointBogusToken;
1919
let apiEndpointBogusUsername;

0 commit comments

Comments
 (0)