mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:33:24 +02:00
Set a timeout on the APK version check. Old APK didn't support it which caused the check to stall.
This commit is contained in:
@@ -50,6 +50,7 @@ inputAgent.ensureInstalled = function(adb, serial) {
|
||||
))
|
||||
.then(function(out) {
|
||||
return streamutil.readAll(out)
|
||||
.timeout(10000)
|
||||
.then(function(buffer) {
|
||||
var version = buffer.toString()
|
||||
if (semver.satisfies(version, SUPPORTED_VERSION)) {
|
||||
|
||||
Reference in New Issue
Block a user