commit | 640e90121d42acc469a533ae190e311841189827 | [log] [tgz] |
---|---|---|
author | wnwen <wnwen@chromium.org> | Tue Sep 27 17:46:01 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Sep 27 17:48:15 2016 |
tree | db5f4a62d2a9964169df829e3d45407ee2f2fa14 | |
parent | 71aed696616be775fe6d0c47d0ba67a2bfc5cef9 [diff] |
Fix ContextUtils test flakiness. There was a race condition between Android tests calling Application#onCreate and TestRunner#runTests which caused flakiness in some of the UrlManagerTest* and other instrumentation tests. Initialize the application object earlier so that it is always ready when tests are run. BUG=649224,637448 Review-Url: https://codereview.chromium.org/2363323003 Cr-Commit-Position: refs/heads/master@{#421256}