DescriptionFix 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
Committed: https://crrev.com/640e90121d42acc469a533ae190e311841189827
Cr-Commit-Position: refs/heads/master@{#421256}
Patch Set 1 #Patch Set 2 : Create application earlier for tests. #Patch Set 3 : Remove debug log. #Messages
Total messages: 15 (10 generated)
|