Fix flaky tests ProgrammaticTabModelTest/TabModelTest.*
The tests ProgrammaticTabModelTest/TabModelTest.* tried to clean up the session file using NSFileManager but this step was flaky due to a race condition (it sometimes fails with a permission error). TestChromeBrowserState already delete the state directory if no explicit path is passed to the builder, thus the step to clean up was unnecessary and can be removed. Bug: none Change-Id: If0ece62ee5cee726e4135952f3d50efae35dabb6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1865211 Auto-Submit: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by:Stepan Khapugin <stkhapugin@chromium.org> Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#706450}
Showing
Please register or sign in to comment