mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Change install timeout to 5min.
This commit is contained in:
@@ -104,7 +104,7 @@ module.exports = syrup.serial()
|
||||
sendProgress('installing_app', guesstimate)
|
||||
return promiseutil.periodicNotify(
|
||||
adb.installRemote(options.serial, apk)
|
||||
.timeout(120000)
|
||||
.timeout(60000 * 5)
|
||||
.catch(function(err) {
|
||||
switch (err.code) {
|
||||
case 'INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES':
|
||||
@@ -117,7 +117,7 @@ module.exports = syrup.serial()
|
||||
.timeout(15000)
|
||||
.then(function() {
|
||||
return adb.installRemote(options.serial, apk)
|
||||
.timeout(120000)
|
||||
.timeout(60000 * 5)
|
||||
})
|
||||
default:
|
||||
return Promise.reject(err)
|
||||
|
||||
Reference in New Issue
Block a user