Skip to content

Increasing ADB timeout to stabalise builds#251

Merged
markmcd merged 1 commit into
googlemaps:masterfrom
markmcd:master
Feb 26, 2016
Merged

Increasing ADB timeout to stabalise builds#251
markmcd merged 1 commit into
googlemaps:masterfrom
markmcd:master

Conversation

@markmcd
Copy link
Copy Markdown
Contributor

@markmcd markmcd commented Feb 26, 2016

PTAL @jfschmakeit @domesticmouse @barbeau

Tests look fine but I'm very slightly concerned with using an unstable version of the gradle plugin. We can always revert this if we have to but I am thoroughly sick of restarting travis builds every goddamn day, so think it's worth the risk.

@barbeau
Copy link
Copy Markdown
Collaborator

barbeau commented Feb 26, 2016

For reference, here's the AOSP issue that's supposedly now fixed that allows us to increase the timeout:
https://code.google.com/p/android/issues/detail?id=189764

@domesticmouse
Copy link
Copy Markdown
Contributor

LGTM

1 similar comment
@jfschmakeit
Copy link
Copy Markdown

LGTM

markmcd added a commit that referenced this pull request Feb 26, 2016
Increasing ADB timeout to stabalise builds
@markmcd markmcd merged commit da8b766 into googlemaps:master Feb 26, 2016
Comment thread library/build.gradle
}

// This enables long timeouts required on slow environments, e.g. Travis
adbOptions {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I don't think this is actually needed, as I believe Travis & Gradle pick up the ABD timeout from the ADB_INSTALL_TIMEOUT environmental variable defined in .travis.yml. So bumping Gradle plugin alone may be enough to prevent timeouts. I don't think it hurts to have both, although I'm not sure which value wins, this timeout value or the ADB_INSTALL_TIMEOUT.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked with sample project. In the above case the timeout value mentioned in gradle wins over ADB_INSTALL_TIMEOUT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants