[DOMStorage] Don't just flush main loop in tests, but flush all threads.
Flushing just the main thread could cause tasks on the leveldb and/or file task runners to not be executed when we expected them to. Flushing those task runners as well should reduce test flakiness. And re-enable LocalStorageContextMojoTestWithService.InvalidVersionOnDisk as this seems to fix the flakiness in that test. Bug: 756550 Change-Id: I7fbdfad9ed5581a0a2dbd030500cc80b9eb2fea1 Reviewed-on: https://chromium-review.googlesource.com/1107117Reviewed-by:Daniel Murphy <dmurph@chromium.org> Commit-Queue: Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/master@{#568635}
Showing
Please register or sign in to comment