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

Commit

Permalink
fix: libp2p uninitialized error
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Jan 24, 2018
1 parent ceafe3e commit 084c12e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
1 change: 1 addition & 0 deletions .aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
served: true,
included: false
}],
browserNoActivityTimeout: 100 * 1000,
singleRun: true
},
hooks: {
Expand Down
30 changes: 17 additions & 13 deletions test/core/bitswap.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,13 @@ function addNode (inProcNode, callback) {
config: {
Addresses: {
Swarm: [`/ip4/127.0.0.1/tcp/0/ws`]
}
},
Discovery: {
MDNS: {
Enabled: false
}
},
Bootstrap: []
}
}, (err, ipfsd) => {
expect(err).to.not.exist()
Expand All @@ -92,21 +98,19 @@ describe('bitswap', function () {
this.timeout(60 * 1000)

let config = {
config: {
Addresses: {
Swarm: []
},
Discovery: {
MDNS: {
Enabled: false
}
},
Bootstrap: []
}
Addresses: {
Swarm: []
},
Discovery: {
MDNS: {
Enabled: false
}
},
Bootstrap: []
}

if (isNode) {
config = Object.assign(config, {
config = Object.assign({}, config, {
config: {
Addresses: {
Swarm: ['/ip4/127.0.0.1/tcp/0']
Expand Down

0 comments on commit 084c12e

Please sign in to comment.