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

Commit 7213a95

Browse files
committed
fix: swarm test - disable bootstrap and multicastdns
1 parent e7e8324 commit 7213a95

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/swarm.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ module.exports = (common) => {
117117
Swarm: addrs,
118118
API: '/ip4/127.0.0.1/tcp/0',
119119
Gateway: '/ip4/127.0.0.1/tcp/0'
120+
},
121+
Bootstrap: [],
122+
Discovery: {
123+
MDNS: {
124+
Enabled: false
125+
}
120126
}
121127
}
122128
}
@@ -213,6 +219,7 @@ module.exports = (common) => {
213219
(cb) => {
214220
nodeA.swarm.peers((err, peers) => {
215221
expect(err).to.not.exist()
222+
peers.forEach((peer) => console.log(peer.addr.toString()))
216223
expect(peers).to.have.length(1)
217224
cb()
218225
})

0 commit comments

Comments
 (0)