Skip to content

MINOR: Fix display names for parameterized KRaft and ZK tests#11957

Merged
cmccabe merged 3 commits into
apache:trunkfrom
skaundinya15:add-display-name-for-parameterized-tests
Mar 28, 2022
Merged

MINOR: Fix display names for parameterized KRaft and ZK tests#11957
cmccabe merged 3 commits into
apache:trunkfrom
skaundinya15:add-display-name-for-parameterized-tests

Conversation

@skaundinya15

Copy link
Copy Markdown
Contributor

This patch adds display names for KRaft and ZK tests. Without this, it becomes hard to understand in Jenkins test reports which test failed. With this addition, it becomes more clear which method in the test suite fails.

@cmccabe

cmccabe commented Mar 28, 2022

Copy link
Copy Markdown
Contributor

Thanks for the PR, @skaundinya15 . This seems like a good readability improvement. Is it possible to use a constant here rather than repeating the literal string? If we had a constant, we could put it in TestInfoUtils, I suppose.

@skaundinya15 skaundinya15 force-pushed the add-display-name-for-parameterized-tests branch from e914428 to 01ed560 Compare March 28, 2022 19:57
@skaundinya15

Copy link
Copy Markdown
Contributor Author

@cmccabe Thanks for the feedback, just pushed a new patch where there's a string in TestInfoUtils and used across all the tests.

@cmccabe cmccabe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@cmccabe

cmccabe commented Mar 28, 2022

Copy link
Copy Markdown
Contributor

retest this please

@cmccabe cmccabe merged commit 2a27059 into apache:trunk Mar 28, 2022
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