[ContentIndex] Re-enable UKM browsertest.
There are metrics that rely on the background recording service, which in turn uses the history service that runs on its own thread. That caused that test to be flaky, so this fix creates a test-only closure that is run after the metric has been recorded to make it determenistic. Bug: 998049 Change-Id: I88ead36796ef07fadf348e1da686b5b200c17509 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1783152Reviewed-by:Richard Knoll <knollr@chromium.org> Commit-Queue: Rayan Kanso <rayankans@chromium.org> Cr-Commit-Position: refs/heads/master@{#693143}
Showing
Please register or sign in to comment