commit | 9b8a1977e84b471e42a6b6798dc2a607dfb28e91 | [log] [tgz] |
---|---|---|
author | Mikel Astiz <mastiz@chromium.org> | Tue Dec 11 12:54:45 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 11 12:54:45 2018 |
tree | a8c29ed8efa98d64775d319e55da54c82a3003c3 | |
parent | d7e9b01e2a51474f9ff417b956f16a4f3beb641e [diff] |
Fix flakiness in SingleClientSessionsSyncTest.CookieJarMismatch Unless something is done about it, there is a race between signin code trying to fetch "real" cookiejar information using GaiaAuthFetcher, and the test faking equivalent information and injecting it via ProfileSyncService::OnGaiaAccountsInCookieUpdatedWithCallback(). Usually, signin logic is fast enough to avoid test failures, but occasionally the fetching takes long and an empty list of accounts is injected at a last stage (after navigations to kURL2), interfering with test expectations. Bug: 789129 Change-Id: I95b0f691bd047216309888d345c68e1eb26ab869 Reviewed-on: https://chromium-review.googlesource.com/c/1371386 Reviewed-by: Marc Treib <treib@chromium.org> Commit-Queue: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#615504}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .