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

Commit

Permalink
chore: increase ping timeouts (#400)
Browse files Browse the repository at this point in the history
This takes around 15s locally and can sometimes take take significantly longer ipfs/kubo#5799

License: MIT
Signed-off-by: Alan Shaw <[email protected]>
  • Loading branch information
Alan Shaw authored Nov 29, 2018
1 parent 36cf442 commit 0d7b447
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion js/src/ping/ping-pull-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ module.exports = (createCommon, options) => {
const common = createCommon()

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

let ipfsA
let ipfsB
Expand Down
3 changes: 2 additions & 1 deletion js/src/ping/ping-readable-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ module.exports = (createCommon, options) => {
const common = createCommon()

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

let ipfsA
let ipfsB
Expand Down
3 changes: 2 additions & 1 deletion js/src/ping/ping.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ module.exports = (createCommon, options) => {
const common = createCommon()

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

let ipfsA
let ipfsB
Expand Down

0 comments on commit 0d7b447

Please sign in to comment.