Skip to content

Conversation

@jacomago
Copy link
Contributor

No description provided.

@github-actions
Copy link

Overall Project 1.97%

There is no coverage information present for the Files changed

@jacomago jacomago marked this pull request as draft February 11, 2026 13:46
@jacomago jacomago force-pushed the remove-ignorable-error-logs branch 3 times, most recently from acc50f1 to 6532f43 Compare February 11, 2026 14:12
@github-actions
Copy link

Overall Project 1.94% -0.07%
Files changed 0%

File Coverage
MetricsService.java 19.22% -2.59%

@jacomago jacomago self-assigned this Feb 11, 2026
@jacomago jacomago marked this pull request as ready for review February 11, 2026 14:49
@github-actions
Copy link

Overall Project 1.94% -0.07%
Files changed 0%

File Coverage
MetricsService.java 19.22% -2.59%

MetricsService.generateAllMultiValueMaps(properties);

assertEquals(1, allMaps.size());
assertEquals(0, allMaps.size());

Choose a reason for hiding this comment

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

Huh. Explain?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Don't know why I had that before, but since I updated MetricsService to now return an empty map instead of a list with an emtpymap, now this should be 0.

Copy link
Contributor

@anderslindho anderslindho left a comment

Choose a reason for hiding this comment

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

You have to put more info in your commit messages: it doesn't make sense that I have to read and understand the code in order to understand the commit message and then, following that, what you're wanting to accomplish and why.

Reduces the scope of the test so less beans are loaded in the test.
Reduce the number of tests where the aa processor is enabled
this gets rid of error logs saying there is no connection to the archiver in unrelated tests
This tries to reduce the beans run per tests, to limit scope of the test and stop bad error messages from other not correctly mocked or wired beans
As it then will produce error messages infecting the logs
This happens when the metricssserviceIT is run with other integration tests, as the schedule to fetch metrics from elastic persists even though the indexes were deleted.
@jacomago jacomago force-pushed the remove-ignorable-error-logs branch from 174fb21 to bb0a15f Compare February 11, 2026 16:01
@sonarqubecloud
Copy link

@jacomago jacomago merged commit 7dc7fc1 into master Feb 11, 2026
2 checks passed
@github-actions
Copy link

Overall Project 1.94% -0.07%
Files changed 0%

File Coverage
MetricsService.java 19.22% -2.59%

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