Make update_flaky_expectations.py include lines with no passing result.
Make update_flaky_expectations.py script delete lines that do not fail in the specified way when they don't include any passing results. Currently expectations that do not fail in the specified way are removed only when they include a passing result, e.g. the expectation bug(test) fast/test.html [ Crash Pass ] will be removed if the results on the builders show only Passes and Timeouts because there is no Crash result. This patch changes the script to also delete the line if the builders show only Timeouts (and no Passes). This is in the spirit of the test's description "Scans the TestExpectations file and uses results from actual builder bots runs to remove tests that are marked as flaky but don't fail in the specified way." Bug: 730704 Change-Id: Ib70b5eb43fb58471ef28c346c9a0f7c334283a13 Reviewed-on: https://chromium-review.googlesource.com/1067525 Commit-Queue: Bugs Nash <bugsnash@chromium.org> Reviewed-by:Quinten Yearsley <qyearsley@chromium.org> Cr-Commit-Position: refs/heads/master@{#560901}
Showing
Please register or sign in to comment