[blinkpy] List all repeats & iterations in actual results
Previously, if a test was retried (because of unexpected failures), the results from all retry attempts would show up in the "actual" field in the summary; but if a test ran multiple times because of --iterations or --repeat-each, only the last result would be included in the summary. This CL makes iterations and repeats behave the same as retries in terms of the result summary. All results from all iterations and repeats from all retries are now included in the "actual" result field in summary. This will make it easier for other tools (e.g. FindIt) and users to debug flaky tests, and won't affect existing bots as they don't use --iterations or --repeat-each. Some code-health improvements are done along the way (e.g. expectation_to_string). There are some questions regarding the existing behaviours. In order to minimize the risk, this CL strives to ensure backward compatibility. We will revisit some of the behaviours later. Bug: 828605 Change-Id: Ibb5a329eb8dc60fd0ae857083ebddc3b1c86f5f0 Reviewed-on: https://chromium-review.googlesource.com/1029430 Commit-Queue: Robert Ma <robertma@chromium.org> Reviewed-by:Dirk Pranke <dpranke@chromium.org> Reviewed-by:
Quinten Yearsley <qyearsley@chromium.org> Cr-Commit-Position: refs/heads/master@{#555848}
Showing
This diff is collapsed.
Please register or sign in to comment