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

chore: increase ping test timeouts #392

Merged
merged 2 commits into from
Nov 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions js/src/ping/ping-pull-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@ module.exports = (createCommon, options) => {
const common = createCommon()

describe('.pingPullStream', function () {
this.timeout(40 * 1000)
this.timeout(60 * 1000)

let ipfsA
let ipfsB

before(function (done) {
this.timeout(60 * 1000)

common.setup((err, factory) => {
if (err) return done(err)

Expand Down
4 changes: 1 addition & 3 deletions js/src/ping/ping-readable-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ module.exports = (createCommon, options) => {
const common = createCommon()

describe('.pingReadableStream', function () {
this.timeout(30 * 1000)
this.timeout(60 * 1000)

let ipfsA
let ipfsB

before(function (done) {
this.timeout(60 * 1000)

common.setup((err, factory) => {
if (err) return done(err)

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

describe('.ping', function () {
this.timeout(40 * 1000)
this.timeout(60 * 1000)

let ipfsA
let ipfsB
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"main": "js/src/index.js",
"scripts": {
"test": "exit 0",
"test:node": "exit 0",
"test:browser": "exit 0",
"test:webworker": "exit 0",
"lint": "aegir lint",
"release": "aegir release -t node --no-docs --no-build --no-test",
"release-minor": "aegir release -t node --type minor --no-docs --no-build --no-test",
Expand Down