mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Add timeouts everywhere. Should help if the ADB socket gets stuck like it sometimes does.
This commit is contained in:
@@ -16,6 +16,7 @@ module.exports = syrup.serial()
|
||||
function openService() {
|
||||
log.info('Launching logcat service')
|
||||
return adb.openLogcat(options.serial)
|
||||
.timeout(10000)
|
||||
.then(function(logcat) {
|
||||
return lifecycle.share('Logcat', logcat)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user