Make test output less verbose#1828
Open
mprins wants to merge 1 commit into
Open
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
f79921d to
7a31fb8
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request reduces log noise in the Tailormap API test suite by removing some debug logging and downgrading several debug statements to trace so typical test runs are less verbose.
Changes:
- Removed multiple
logger.debug(...)statements from integration/unit tests where they produced overly verbose output. - Downgraded some remaining debug logging to
logger.trace(...)(Prometheus, SSE, password reset timing). - Cleaned up now-unused logger-related imports/fields (LayerBounds integration test).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/test/java/org/tailormap/api/ValidateGeoToolsInArtifactIntegrationTest.java | Removes a debug log line at test start to reduce noise. |
| src/test/java/org/tailormap/api/PrometheusIntegrationTest.java | Lowers several debug logs to trace and removes one debug log. |
| src/test/java/org/tailormap/api/prometheus/PrometheusResultProcessorTest.java | Removes debug logging from result-processing unit tests. |
| src/test/java/org/tailormap/api/controller/ServerSentEventsControllerIntegrationTest.java | Downgrades Awaitility/SSE debug logging to trace. |
| src/test/java/org/tailormap/api/controller/PasswordResetControllerIntegrationTest.java | Downgrades per-iteration timing debug log to trace. |
| src/test/java/org/tailormap/api/controller/LayerBoundsControllerIntegrationTest.java | Removes logger setup and a debug andDo(...) response dump. |
Comment on lines
88
to
+89
| JsonNode root = new JsonMapper().readTree(response.getBody()); | ||
| logger.debug("App usage response: {}", root.toPrettyString()); | ||
| logger.trace("App usage response: {}", root.toPrettyString()); |
Comment on lines
118
to
+119
| JsonNode root = new JsonMapper().readTree(response.getBody()); | ||
| logger.debug("App usage last updated response: {}", root.toPrettyString()); | ||
| logger.trace("App usage last updated response: {}", root.toPrettyString()); |
Comment on lines
154
to
+155
| JsonNode root = new JsonMapper().readTree(response.getBody()); | ||
| logger.debug("App usage last updated response: {}", root.toPrettyString()); | ||
| logger.trace("App usage last updated response: {}", root.toPrettyString()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.