Skip to content

Make test output less verbose#1828

Open
mprins wants to merge 1 commit into
mainfrom
less_verbose_tests
Open

Make test output less verbose#1828
mprins wants to merge 1 commit into
mainfrom
less_verbose_tests

Conversation

@mprins

@mprins mprins commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@mprins mprins self-assigned this Jul 3, 2026
Copilot AI review requested due to automatic review settings July 3, 2026 14:55
@mprins mprins added the tests CI and build proces related or testcases label Jul 3, 2026
@mprins mprins removed the request for review from Copilot July 3, 2026 14:55
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 7a31fb8.
Ensure 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 Files

None

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit 7a31fb8. ± Comparison against base commit 9f86afc.

♻️ This comment has been updated with latest results.

@mprins mprins force-pushed the less_verbose_tests branch from f79921d to 7a31fb8 Compare July 3, 2026 15:10
Copilot AI review requested due to automatic review settings July 3, 2026 15:10

Copilot AI 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.

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());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests CI and build proces related or testcases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants