mirror of
https://github.com/openstf/stf
synced 2025-10-04 02:09:32 +02:00
Allocate two ports to each worker.
This commit is contained in:
parent
e0426d01be
commit
c45c081c6f
3 changed files with 43 additions and 12 deletions
|
@ -9,3 +9,12 @@ module.exports.allUnknownArgs = function(args) {
|
|||
module.exports.lastArg = function(args) {
|
||||
return args[args.length - 1]
|
||||
}
|
||||
|
||||
module.exports.range = function(from, to) {
|
||||
var items = []
|
||||
, i
|
||||
for (i = from; i <= to; ++i) {
|
||||
items.push(i)
|
||||
}
|
||||
return items
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue