mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +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:
parent
e0ab10adbd
commit
667ba512ae
2 changed files with 1 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
BIN
vendor/InputAgent/InputAgent.apk
vendored
BIN
vendor/InputAgent/InputAgent.apk
vendored
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue