mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Make boot complete timeout configurable.
This commit is contained in:
parent
3d74cb48ab
commit
72a16ed2ff
2 changed files with 11 additions and 1 deletions
10
lib/cli.js
10
lib/cli.js
|
@ -50,6 +50,10 @@ program
|
|||
, 'heartbeat interval'
|
||||
, Number
|
||||
, 10000)
|
||||
.option('--boot-complete-timeout <ms>'
|
||||
, 'how long to wait for boot to complete during device setup'
|
||||
, Number
|
||||
, 60000)
|
||||
.option('--adb-host <host>'
|
||||
, 'ADB host (defaults to 127.0.0.1)'
|
||||
, String
|
||||
|
@ -120,6 +124,7 @@ program
|
|||
, '--screen-jpeg-quality', options.screenJpegQuality
|
||||
, '--connect-url-pattern', options.connectUrlPattern
|
||||
, '--heartbeat-interval', options.heartbeatInterval
|
||||
, '--boot-complete-timeout', options.bootCompleteTimeout
|
||||
, '--vnc-initial-size', options.vncInitialSize.join('x')
|
||||
]
|
||||
.concat(options.muteMaster ? ['--mute-master'] : [])
|
||||
|
@ -195,6 +200,10 @@ program
|
|||
, 'heartbeat interval'
|
||||
, Number
|
||||
, 10000)
|
||||
.option('--boot-complete-timeout <ms>'
|
||||
, 'how long to wait for boot to complete during device setup'
|
||||
, Number
|
||||
, 60000)
|
||||
.option('--mute-master'
|
||||
, 'whether to mute master volume when devices are being used')
|
||||
.option('--lock-rotation'
|
||||
|
@ -244,6 +253,7 @@ program
|
|||
, vncPort: options.vncPort
|
||||
, vncInitialSize: options.vncInitialSize
|
||||
, heartbeatInterval: options.heartbeatInterval
|
||||
, bootCompleteTimeout: options.bootCompleteTimeout
|
||||
, muteMaster: options.muteMaster
|
||||
, lockRotation: options.lockRotation
|
||||
, cleanup: options.cleanup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue