Fix some flake sources in Chrome Test infra
Split off of https://chromium-review.googlesource.com/c/chromium/src/+/2442359 as these fixes will be useful even when that CL gets inevitably reverted :) Espresso wraps and re-throws Exceptions, so we catch Exceptions whose cause is a CriteriaNotSatisfiedException as well so that the polling actually works when using Espresso to check Criteria. Bug: 1134178 Change-Id: I7c9cdb7e637b306b0c6cb9ecb42a237d99091cb8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491117Reviewed-by:Andrew Grieve <agrieve@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/master@{#821013}
Showing
Please register or sign in to comment