mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Change install timeout to 5min.
This commit is contained in:
parent
a2662a0b53
commit
bfd5cb70b1
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ module.exports = syrup.serial()
|
||||||
sendProgress('installing_app', guesstimate)
|
sendProgress('installing_app', guesstimate)
|
||||||
return promiseutil.periodicNotify(
|
return promiseutil.periodicNotify(
|
||||||
adb.installRemote(options.serial, apk)
|
adb.installRemote(options.serial, apk)
|
||||||
.timeout(120000)
|
.timeout(60000 * 5)
|
||||||
.catch(function(err) {
|
.catch(function(err) {
|
||||||
switch (err.code) {
|
switch (err.code) {
|
||||||
case 'INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES':
|
case 'INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES':
|
||||||
|
@ -117,7 +117,7 @@ module.exports = syrup.serial()
|
||||||
.timeout(15000)
|
.timeout(15000)
|
||||||
.then(function() {
|
.then(function() {
|
||||||
return adb.installRemote(options.serial, apk)
|
return adb.installRemote(options.serial, apk)
|
||||||
.timeout(120000)
|
.timeout(60000 * 5)
|
||||||
})
|
})
|
||||||
default:
|
default:
|
||||||
return Promise.reject(err)
|
return Promise.reject(err)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue