diff --git a/test/core/bitswap.spec.js b/test/core/bitswap.spec.js index 8996330088..0645259174 100644 --- a/test/core/bitswap.spec.js +++ b/test/core/bitswap.spec.js @@ -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() @@ -83,7 +89,7 @@ function addNode (inProcNode, callback) { }) } -describe('bitswap', function () { +describe.only('bitswap', function () { this.timeout(80 * 1000) let inProcNode // Node spawned inside this process @@ -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']