[EventTiming] Allow spurious inputs when looseCount is true
This CL is a tentative fix for some flaky tests. An assert_equals to 0 is sometimes failing, presumably because the test itself may cause some inputs to occur. Hence, we only check that eventCounts is 0 when the |looseCount| variable is set to false. Bug: 1074048 Change-Id: I989ccdb7cb469ff24132bf17a3da9a43264ae6ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2225293 Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Reviewed-by:Yoav Weiss <yoavweiss@chromium.org> Cr-Commit-Position: refs/heads/master@{#774650}
Showing
Please register or sign in to comment