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

Commit

Permalink
fix: give the daemon time to spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Mar 16, 2017
1 parent 11e54c3 commit 2bf32cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ function spawnDaemon (num, callback) {
setTimeout(() => {
const daemon = new HTTPAPI(node.repo.path())
nodes.push(daemon)
daemon.start(callback)
}, 400)
setTimeout(() => daemon.start(callback), 400)
}, 800)
}

gulp.task('libnode:start', (done) => {
Expand Down
2 changes: 1 addition & 1 deletion test/core/bitswap.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('bitswap', () => {
init: false,
start: false,
EXPERIMENTAL: {
pubsub: true
pubsub: false
}
})
series([
Expand Down

0 comments on commit 2bf32cd

Please sign in to comment.