diff --git a/test/fast/modules/bma/module-test.js b/test/fast/modules/bma/module-test.js index 88ae5ce66ccc1d4840e8d92442b54f5202874bd3..135dfa971e49ed7487d34bbceafa18293d2bc230 100644 --- a/test/fast/modules/bma/module-test.js +++ b/test/fast/modules/bma/module-test.js @@ -29,6 +29,7 @@ describe('Module usage', () => { }, 'duniter-automated-test'); yield stack.executeStack(['node', 'index.js', 'test1', '--memory', + '--noupnp', '--ipv4', '127.0.0.1', '--port', '10400' ]); diff --git a/test/integration/cli.js b/test/integration/cli.js index 821ac555d3d76779b53cb1d46d51912e125459d5..f6e554514c92ad405e89431e3dc7f3168f656c9f 100644 --- a/test/integration/cli.js +++ b/test/integration/cli.js @@ -116,7 +116,7 @@ describe("CLI", function() { })); it('config --autoconf', () => co(function*() { - let res = yield execute(['config', '--autoconf']); + let res = yield execute(['config', '--autoconf', '--noupnp']); res.should.have.property("pair").property('pub').not.equal(""); res.should.have.property("pair").property('sec').not.equal(""); })); diff --git a/test/integration/tests.js b/test/integration/tests.js index 6433f307b952da3fcaf9d4e1489b1c5504be8b76..3848b6b9b51e7330c2697dd2b1ac6a5ec6542fda 100644 --- a/test/integration/tests.js +++ b/test/integration/tests.js @@ -24,7 +24,7 @@ describe("Integration", function() { describe("Node 1", function() { - const node1 = node('db1', { currency: 'bb', ipv4: 'localhost', port: 9999, remoteipv4: 'localhost', remoteport: 9999, httplogs: false, + const node1 = node('db1', { upnp: false, currency: 'bb', ipv4: 'localhost', port: 9999, remoteipv4: 'localhost', remoteport: 9999, httplogs: false, rootoffset: 0, sigQty: 1, pair: { diff --git a/test/integration/tools/node.js b/test/integration/tools/node.js index 1c508c6f8b860eabb5f32ec8bd7308de023f877d..bea8fb7b7724532b7a605e3cc1cd9e50c42f7c48 100644 --- a/test/integration/tools/node.js +++ b/test/integration/tools/node.js @@ -180,7 +180,7 @@ function Node (dbName, options) { options.remoteipv4 = options.remoteipv4 || null; options.remoteipv6 = options.remoteipv6 || null; options.remoteport = options.remoteport || 10901; - const cliOptions = [] + const cliOptions = ['--ws2p-noupnp'] if (options.port) { cliOptions.push('--port') cliOptions.push(options.port) diff --git a/test/integration/v1.0-modules-api.js b/test/integration/v1.0-modules-api.js index f1a62982cad1b147e290fe5d56edabb677e71ddf..a0f0d81e48c4323c954a3a8237922995dd744570 100644 --- a/test/integration/v1.0-modules-api.js +++ b/test/integration/v1.0-modules-api.js @@ -158,7 +158,7 @@ describe("v1.0 Module API", () => { function run() { const args = Array.from(arguments); - return stack.executeStack(['node', 'index.js', '--memory'].concat(args)); + return stack.executeStack(['node', 'index.js', '--memory', '--ws2p-noupnp'].concat(args)); } before(() => co(function*() {