mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Expose provider min/max ports to stf local
.
This commit is contained in:
parent
b6c8d4809d
commit
252f778598
1 changed files with 10 additions and 0 deletions
10
lib/cli.js
10
lib/cli.js
|
@ -882,6 +882,14 @@ program
|
|||
, 'provider name (or os.hostname())'
|
||||
, String
|
||||
, os.hostname())
|
||||
.option('--provider-min-port <port>'
|
||||
, 'minimum port number for worker use'
|
||||
, Number
|
||||
, 7400)
|
||||
.option('--provider-max-port <port>'
|
||||
, 'maximum port number for worker use'
|
||||
, Number
|
||||
, 7700)
|
||||
.option('-t, --group-timeout <seconds>'
|
||||
, 'group timeout'
|
||||
, Number
|
||||
|
@ -956,6 +964,8 @@ program
|
|||
, procutil.fork(__filename, [
|
||||
'provider'
|
||||
, '--name', options.provider
|
||||
, '--min-port', options.providerMinPort
|
||||
, '--max-port', options.providerMaxPort
|
||||
, '--connect-sub', options.bindDevPub
|
||||
, '--connect-push', options.bindDevPull
|
||||
, '--group-timeout', options.groupTimeout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue