Revert "Run pending tasks in ~TestBrowserThreadBundle."
This reverts commit 1c3948d8. Reason for revert: The patch caused multiple content_unittest flaky. https://bugs.chromium.org/p/chromium/issues/detail?id=938126 This CL could be relanded once these flaky tests are fixed or disabled. Original change's description: > Run pending tasks in ~TestBrowserThreadBundle. > > This makes sure we run all remaining tasks in tests. This should be the > case even for ExecutionMode::QUEUED as documented here: > https://cs.chromium.org/chromium/src/base/test/scoped_task_environment.h?l=42 > > Also lift the restriction to only flush tasks in !MOCK_TIME && !QUEUED modes > which is unnecessary now that TestBrowserThreadBundle is-a > ScopedTaskEnvironment (http://crrev.com/616622). > > Bug: 708584 > Change-Id: I52773e27d3875bd246bb1cd7eea92c9e11fc70bf > Reviewed-on: https://chromium-review.googlesource.com/c/1480460 > Commit-Queue: Gabriel Charette <gab@chromium.org> > Reviewed-by: Gabriel Charette <gab@chromium.org> > Cr-Commit-Position: refs/heads/master@{#637288} TBR=gab@chromium.org,knollr@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 708584 Bug: 938126 Change-Id: I8b43a5c90b8f28eee2817a94cd556b2742e2f58c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1503993Reviewed-by:Owen Min <zmin@chromium.org> Commit-Queue: Owen Min <zmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#637760}
Showing
Please register or sign in to comment