Plug temp dir leak in HeadlessBrowserTest.UserDataDir.
The User Data dir cannot be cleanly deleted at the end of the main test function, as there remain files in-use within the directory at that point. Rather, scope the temp dir to the lifetime of the test harness so that it can be cleaned up after the test has been spun down. Bug: 546640 Change-Id: Id942c785bb6c84c40079bc4bde10fad4c7b16d15 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1870113 Auto-Submit: Greg Thompson <grt@chromium.org> Commit-Queue: Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#707759}
Showing
Please register or sign in to comment