Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix port conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Jun 6, 2016
1 parent 903022c commit 20d880c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ let nodes = []

function startNode (num, done) {
createTempNode(num, (err, node) => {
if (err) throw err
if (err) {
throw err
}

const api = new API(node.repo.path())
nodes.push(api)
Expand All @@ -23,7 +25,7 @@ gulp.task('libnode:start', (done) => {
parallel([
(cb) => startNode(7, cb),
(cb) => startNode(8, cb),
(cb) => startNode(9, cb)
(cb) => startNode(13, cb)
], done)
})

Expand Down
4 changes: 2 additions & 2 deletions test/core/both/test-bitswap.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe('bitswap', () => {
// need timeout so we wait for identify to happen
// in the browsers
connectNodesSingle(node2, node1, cb)
}, 100)
}, 300)
], done)
}

Expand Down Expand Up @@ -110,7 +110,7 @@ describe('bitswap', () => {
let node
series([
// 0. Start node
(cb) => addNode(9, (err, _ipfs) => {
(cb) => addNode(13, (err, _ipfs) => {
node = _ipfs
cb(err)
}),
Expand Down

0 comments on commit 20d880c

Please sign in to comment.