Replace RunUntilIdle() with a quit callback in ServiceWorkerJobTest
This patch replaces the base::RunLoop().RunUntilIde() with base::RunLoop loop, which will reduce the time delay and make those unit tests deterministic. Bug: 973005 Change-Id: I3fa718ef0926b38385c53f0af9d6ce8865a87660 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1760670 Commit-Queue: Makoto Shimazu <shimazu@chromium.org> Reviewed-by:Makoto Shimazu <shimazu@chromium.org> Cr-Commit-Position: refs/heads/master@{#691968}
Showing
This diff is collapsed.
Please register or sign in to comment