[TIMOB-17295] CLI: Android build install and retry timeouts are too short
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-07-11T19:35:50.000+0000 |
Affected Version/s | Release 3.3.0 |
Fix Version/s | Release 3.3.0, Release 3.4.0 |
Components | Android, Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2014-07-11T18:38:52.000+0000 |
Updated | 2014-07-11T21:54:31.000+0000 |
Description
Currently the Android build waits 2 minutes for ADB install to complete. It also waits 1 second before retrying when an install fails.
To account for large apks and slow emulators, these values should be increased to 4 minutes for the install timeout and 2 seconds for the retry.
Master: https://github.com/appcelerator/titanium_mobile/pull/5905 3_3_X: https://github.com/appcelerator/titanium_mobile/pull/5906 To test, build an Android app for an ARM emulator build. Despite being slow, it should still not timeout doing the adb install.
I tested a few times with ADB killed and no emulator running. I never got a timeout; the build process always successfully started the emulator, installed and started the app.
Verified the fix using Kitchensink app as its quite heavy app. Did not get any app Install timeouts but saw the app install retry interval shows "retrying in 2000ms." Closing. Environment: Appc Studio : 3.3.0.201407101409 Ti SDK : 3.3.0.v20140711123603 Mac OSX : 10.8.5 Alloy : 1.4.0-rc5 CLI - 3.3.0-rc4 Code Processor: 1.1.1 Nexus 5 - android 4.4