Skip to content

router check tool: add flag for only printing failed tests#8160

Merged
mattklein123 merged 22 commits intoenvoyproxy:masterfrom
LisaLudique:master
Sep 11, 2019
Merged

router check tool: add flag for only printing failed tests#8160
mattklein123 merged 22 commits intoenvoyproxy:masterfrom
LisaLudique:master

Conversation

@LisaLudique
Copy link
Copy Markdown
Contributor

@LisaLudique LisaLudique commented Sep 5, 2019

Description:
For teams that have large numbers of tests, printing all test names can be cumbersome and make it hard to debug. For this reason, this change adds a new command line flag for the router check tool which when set only shows test results for tests that have failed.
When this flag is set alongside the detailed flag, only results for failed tests are printed.
When only the detailed flag is set, all test names are shown and names for failed tests are not printed again.
When only the new flag is set, only test results for failed tests are printed.
When neither flag is set, there is no output.

Risk Level: Low

Testing:
Added unit tests for expected output under different details & only_show_failures flag combinations in route_tests.sh.

Docs Changes: included
Release Notes: included
[Optional Fixes #Issue]
[Optional Deprecated:]

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants