Fix file leaks in MediaEngagementServiceTest.CleanUpDatabaseWhenHistoryIsExpired.
During service teardown, tasks are posted to the TestMockTimeTaskRunner to close open files. These must be run during TearDown so that files can be closed, thereby allowing the ScopedTempDir to clean itself. Bug: 546640 Change-Id: Ibdfa0cc63f79f27237040765777fed344f7ad7b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1895337 Auto-Submit: Greg Thompson <grt@chromium.org> Commit-Queue: Mounir Lamouri <mlamouri@chromium.org> Reviewed-by:Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#711836}
Showing
Please register or sign in to comment