Skip to content

Verify that HELP lines are not duplicated#638

Open
spyrkob wants to merge 1 commit into
microprofile:mainfrom
spyrkob:issue-616
Open

Verify that HELP lines are not duplicated#638
spyrkob wants to merge 1 commit into
microprofile:mainfrom
spyrkob:issue-616

Conversation

@spyrkob

@spyrkob spyrkob commented May 14, 2021

Copy link
Copy Markdown

Fixes #616

@eclipse-microprofile-bot

Copy link
Copy Markdown
Contributor

Can one of the admins verify this patch?

@rafi0101

Copy link
Copy Markdown

What about this MR?
We are using version 5.1.0 and currently have the problem again with duplicate/multiple HELP messages for the same metric. I know this is just a MR for testing, but maybe this would be noticed then?

@Channyboy

Copy link
Copy Markdown
Contributor

Hi! We can fit it in into the next minor release (however, there are currently no active plans set for that).
On top of that, the PR would need to be updated to use the new query params pathing (i.e., /metrics?scope=application)

@Test
@RunAsClient
public void testApplicationContainsHelpMessageOnce() {
given().header("Accept", TEXT_PLAIN).when().get("/metrics/application")

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.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@Channyboy thanks, I updated the PR could you take a look and let me know if it needs any other changes

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.

Improve TCK to verify that HELP lines are not duplicated

4 participants