mirror of
https://github.com/openstf/stf
synced 2025-10-05 19:42:01 +02:00
Rename vital checkers.
This commit is contained in:
parent
a25df0b293
commit
e7a887ae45
1 changed files with 3 additions and 3 deletions
|
@ -294,14 +294,14 @@ module.exports = function(options) {
|
|||
log.info('Launching TouchService')
|
||||
return devutil.ensureUnusedPort(adb, options.serial, 2820)
|
||||
.then(function(port) {
|
||||
var log = logger.createLogger('device:remote:input')
|
||||
var log = logger.createLogger('device:remote:touch')
|
||||
return adb.shellAsync(options.serial, [
|
||||
vendor.bin.dest
|
||||
, '--lib', vendor.lib.dest
|
||||
, '--listen-input', port
|
||||
])
|
||||
.then(function(out) {
|
||||
vitals.register('device:remote:input:shell', out)
|
||||
vitals.register('device:remote:touch:shell', out)
|
||||
out.pipe(split())
|
||||
.on('data', function(chunk) {
|
||||
log.info(chunk)
|
||||
|
@ -317,7 +317,7 @@ module.exports = function(options) {
|
|||
})
|
||||
.then(function(monkey) {
|
||||
services.touch = vitals.register(
|
||||
'device:remote:input:monkey'
|
||||
'device:remote:touch:monkey'
|
||||
, Promise.promisifyAll(monkey)
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue