-
Notifications
You must be signed in to change notification settings - Fork 20
Remove ignorable error logs #197
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
Conversation
|
acc50f1 to
6532f43
Compare
|
|
| MetricsService.generateAllMultiValueMaps(properties); | ||
|
|
||
| assertEquals(1, allMaps.size()); | ||
| assertEquals(0, allMaps.size()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh. Explain?
There was a problem hiding this comment.
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.
anderslindho
left a comment
There was a problem hiding this 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.
174fb21 to
bb0a15f
Compare
|
|



No description provided.