Call async test functions with await to better catch exceptions
Currently any exceptions thrown in an async test function are not caught and the test will fail as a timeout. Added fix for GalleryJsTest.ImageViewTest which was throwing exceptions with undeclared metrics.record... functions. TBR=fukino@chromium.org Change-Id: I40ed5ff91a35ffd9a1c399d4d8405554e3fab911 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2459136 Commit-Queue: Joel Hockey <joelhockey@chromium.org> Auto-Submit: Joel Hockey <joelhockey@chromium.org> Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Cr-Commit-Position: refs/heads/master@{#816044}
Showing
Please register or sign in to comment