Description[Sync] Fix flaky AndroidSyncSettings tests.
These flakes were introduced in http://crrev.com/1416553003.
Apparently waitForIdleSync() is not sufficient to ensure the completion
of AsyncTasks, so this change adds a way to wait for the getAccounts
task directly.
BUG=554154, 554540
Committed: https://crrev.com/5bd7cb2d80c9efcb3662af5f49b7cb8f9e21dcaf
Cr-Commit-Position: refs/heads/master@{#360182}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Remove stray @Deprecated. #Patch Set 3 : Introduce ZeroCounter. #Patch Set 4 : Rebase. #
Total comments: 6
Patch Set 5 : Switch to using an Object as a lock/flag. #
Total comments: 2
Patch Set 6 : Address comments. #
Messages
Total messages: 14 (4 generated)
|