Fix flaky AutofillPrivateApiTests
This is an attempt to fix flakes in a number of AutofillPrivateApiTests. The hypothesis is that the tests fail because the PersonalDataManager did not have a chance to start up. This means that data may be unavailable or that change notifications are pushed because the PDM finally starts but these may then confuse observers that look for specific signals. This also fixed AutofillPrivateApiTest.RemoveEntry which became stale as some code changes happened while the test was disabled. The parameter list of the callback handler was incorrect. If there are still fakes, please don't revert this CL but rather disable the tests again with a new bug report. Bug: 1162474,643097,1143312,1154856,988146 Change-Id: I06b9dc3db02daa2b5eb74aa354719e323a7d4ae9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2628287 Commit-Queue: Dominic Battré <battre@chromium.org> Reviewed-by:Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#843493}
Showing
Please register or sign in to comment