Skip to content

Commit

Permalink
Added a 'nbReservedSocketPerTest' in the test framework of the v2
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienCastex committed Jun 29, 2017
1 parent 2be8b93 commit 72696ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/v2/root.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module.exports = (callback, options) => {
const info = {
name: undefined,
options,
port: options.port + gindex * 10,
port: options.port + gindex * options.nbReservedSocketPerTest,
easyError: (e, cb) => (e, arg1, arg2, arg3) => {
if(e)
info.isValid(false, e);
Expand Down Expand Up @@ -236,5 +236,6 @@ if(!module.parent)
}, {
port: 1900,
showExceptions : true,
timeout: 6000
timeout: 6000,
nbReservedSocketPerTest: 15
})

0 comments on commit 72696ad

Please sign in to comment.