1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00

Change install timeout to 5min.

This commit is contained in:
Simo Kinnunen 2015-02-25 15:04:56 +09:00
parent a2662a0b53
commit bfd5cb70b1

View file

@ -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)