mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Rename vital checkers.
This commit is contained in:
@@ -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)
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user