lhotari opened a new pull request, #25411: URL: https://github.com/apache/pulsar/pull/25411
### Motivation When Gradle tests fail, the console output does not include the exception details by default. This makes it harder to diagnose test failures without digging into the HTML/XML test reports, especially in CI environments where quick feedback is important. ### Modifications Added a `testLogging` block to the `tasks.withType<Test>` configuration in the root `build.gradle.kts` that applies to all Java subprojects: - Enabled `FAILED` test events so that failures are reported to the console - Set `exceptionFormat` to `SHORT` for compact exception output - Enabled `showStackTraces`, `showExceptions`, and `showCauses` to include the full failure context ### Verifying this change This change is a trivial rework / code cleanup without any test coverage. This can be verified by running any test that fails and confirming that the exception details now appear in the console output. ### Does this pull request potentially affect one of the following parts: - [ ] Dependencies (add or upgrade a dependency) - [ ] The public API - [ ] The schema - [ ] The default values of configurations - [ ] The threading model - [ ] The binary protocol - [ ] The REST endpoints - [ ] The admin CLI options - [ ] The metrics - [ ] Anything that affects deployment ### Documentation - [x] `doc-not-needed` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
