Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit e4ae98e

Browse files
achingbrainAlan Shaw
authored and
Alan Shaw
committed
chore: increase ping test timeouts (#392)
These tests take ages locally and are even slower on the Jenkins Mac workers so this PR increases their timeouts to values verging on unreasonable.
1 parent b8f7b9a commit e4ae98e

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

js/src/ping/ping-pull-stream.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ module.exports = (createCommon, options) => {
1414
const common = createCommon()
1515

1616
describe('.pingPullStream', function () {
17-
this.timeout(40 * 1000)
17+
this.timeout(60 * 1000)
1818

1919
let ipfsA
2020
let ipfsB
2121

2222
before(function (done) {
23-
this.timeout(60 * 1000)
24-
2523
common.setup((err, factory) => {
2624
if (err) return done(err)
2725

js/src/ping/ping-readable-stream.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ module.exports = (createCommon, options) => {
1515
const common = createCommon()
1616

1717
describe('.pingReadableStream', function () {
18-
this.timeout(30 * 1000)
18+
this.timeout(60 * 1000)
1919

2020
let ipfsA
2121
let ipfsB
2222

2323
before(function (done) {
24-
this.timeout(60 * 1000)
25-
2624
common.setup((err, factory) => {
2725
if (err) return done(err)
2826

js/src/ping/ping.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = (createCommon, options) => {
1313
const common = createCommon()
1414

1515
describe('.ping', function () {
16-
this.timeout(40 * 1000)
16+
this.timeout(60 * 1000)
1717

1818
let ipfsA
1919
let ipfsB

0 commit comments

Comments
 (0)