This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 802ad198155 [improve][build] Show test failure exceptions (#25411)
802ad198155 is described below
commit 802ad198155b807b562bf2c28a6066aa36b61167
Author: Lari Hotari <[email protected]>
AuthorDate: Fri Mar 27 16:57:11 2026 +0200
[improve][build] Show test failure exceptions (#25411)
---
build.gradle.kts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/build.gradle.kts b/build.gradle.kts
index 5a9f4322a30..9222f7d8e2d 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -156,6 +156,13 @@ subprojects {
val excludedTestGroups =
providers.gradleProperty("excludedTestGroups").getOrElse("quarantine,flaky")
excludeGroups(*(excludedTestGroups.split(",").map { it.trim()
}.toTypedArray()))
}
+ testLogging {
+ events("FAILED")
+ exceptionFormat =
org.gradle.api.tasks.testing.logging.TestExceptionFormat.SHORT
+ showStackTraces = true
+ showExceptions = true
+ showCauses = true
+ }
maxHeapSize = "1300m"
maxParallelForks = 4
systemProperty("testRetryCount", System.getProperty("testRetryCount",
"1"))