Skip to content

eventchecker: implement checker names #662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

willfindlay
Copy link
Contributor

This commit implments eventchecker names for top-level checkers (i.e. checkers that check a process event). These names will show up in the error logs when a check fails. That should hopefully improve the readability of test logs (especially e2e tests) and help us diagnose why tests are failing.

Note that for most of the tests that have only one checker, I have opted to give them an empty name. This is because these are cases where disambiguation is (obviously) unhelpful. For some practical examples of why this construct is actually useful, please refer to the end-to-end tests.

Signed-off-by: William Findlay [email protected]

@willfindlay willfindlay force-pushed the pr/willfindlay/eventchecker-names branch from bdb1a9c to 111c610 Compare January 25, 2023 19:16
@willfindlay willfindlay requested a review from kkourt January 25, 2023 21:49
@willfindlay willfindlay marked this pull request as ready for review January 25, 2023 21:49
@willfindlay willfindlay requested a review from a team as a code owner January 25, 2023 21:49
This commit implments eventchecker names for top-level checkers (i.e. checkers that check
a process event). These names will show up in the error logs when a check fails. That
should hopefully improve the readability of test logs (especially e2e tests) and help us
diagnose why tests are failing.

Note that for most of the tests that have only one checker, I have opted to give them an
empty name. This is because these are cases where disambiguation is (obviously) unhelpful.
For some practical examples of why this construct is actually useful, please refer to the
end-to-end tests.

Signed-off-by: William Findlay <[email protected]>
@willfindlay willfindlay force-pushed the pr/willfindlay/eventchecker-names branch from 111c610 to 0e2ebcf Compare January 25, 2023 22:06
Copy link
Contributor

@kkourt kkourt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kkourt kkourt merged commit 18aefbf into main Jan 31, 2023
@kkourt kkourt deleted the pr/willfindlay/eventchecker-names branch January 31, 2023 15:28
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.

2 participants