Drain UI thread in PasswordsSettingsTestCase/testDeletionInDetailView
As logs from trybots suggest (see the associated bug), the state of the UI during this test sometimes lags behind the test's expectations. This CL attempts to prevent it by draining the UI thread at the moment where the test frequently fails. This was impossible to verify on available trybots, but should at least be verifiable on https://build.chromium.org/p/chromium.fyi/builders/EarlGreyiOS, where the flake is rather reliable (the test never passes on the very first attempt). TBR=sdefresne@chromium.org Bug: 747058 Change-Id: Ib9cd3c2669357f22bc8d19474c82dabe66801740 Reviewed-on: https://chromium-review.googlesource.com/579972 Commit-Queue: Vaclav Brozek <vabr@chromium.org> Reviewed-by:Mike Baxley <baxley@chromium.org> Cr-Commit-Position: refs/heads/master@{#488384}
Showing
Please register or sign in to comment