Skip to content

Commit 0d7b447

Browse files
author
Alan Shaw
authored
chore: increase ping timeouts (ipfs#400)
This takes around 15s locally and can sometimes take take significantly longer ipfs/kubo#5799 License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 36cf442 commit 0d7b447

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ module.exports = (createCommon, options) => {
1414
const common = createCommon()
1515

1616
describe('.pingPullStream', function () {
17-
this.timeout(60 * 1000)
17+
// TODO revisit when https://github.com/ipfs/go-ipfs/issues/5799 is resolved
18+
this.timeout(2 * 60 * 1000)
1819

1920
let ipfsA
2021
let ipfsB

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ module.exports = (createCommon, options) => {
1515
const common = createCommon()
1616

1717
describe('.pingReadableStream', function () {
18-
this.timeout(60 * 1000)
18+
// TODO revisit when https://github.com/ipfs/go-ipfs/issues/5799 is resolved
19+
this.timeout(2 * 60 * 1000)
1920

2021
let ipfsA
2122
let ipfsB

js/src/ping/ping.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ module.exports = (createCommon, options) => {
1313
const common = createCommon()
1414

1515
describe('.ping', function () {
16-
this.timeout(60 * 1000)
16+
// TODO revisit when https://github.com/ipfs/go-ipfs/issues/5799 is resolved
17+
this.timeout(2 * 60 * 1000)
1718

1819
let ipfsA
1920
let ipfsB

0 commit comments

Comments
 (0)