Fix leaks in BackgroundFetchDataManagerTest tests.
These tests must allow tasks on the cache thread and the main loop to run to allow for proper cleanup. Without this, files in the profile dir may be held open beyond the lifetime of the test function, inhibiting ScopedTempDir's ability to clean them up during TestBrowserContext destruction. BUG=546640,1016662 Change-Id: I1f9b50cb91a7fd287a103a4528ffe393720aeec9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1882319 Commit-Queue: Greg Thompson <grt@chromium.org> Commit-Queue: Rayan Kanso <rayankans@chromium.org> Reviewed-by:Rayan Kanso <rayankans@chromium.org> Auto-Submit: Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/master@{#709877}
Showing
Please register or sign in to comment