You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2026/09/13 15:13:43 UTC
(pulsar) branch master updated: [improve][test] Reduce overlapping TestNG fixtures (#26562)
This is an automated email from the ASF dual-hosted git repository.
merlimat 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 58b8d2a0b7ce [improve][test] Reduce overlapping TestNG fixtures (#26562)
58b8d2a0b7ce is described below
commit 58b8d2a0b7ce5bc76f51a723e05aa81376f410ea
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Sun Sep 13 18:13:35 2026 +0300
[improve][test] Reduce overlapping TestNG fixtures (#26562)
---
.../conventions/src/main/kotlin/pulsar.java-conventions.gradle.kts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/build-logic/conventions/src/main/kotlin/pulsar.java-conventions.gradle.kts b/build-logic/conventions/src/main/kotlin/pulsar.java-conventions.gradle.kts
index cbb8581320fb..a2dcd67a8116 100644
--- a/build-logic/conventions/src/main/kotlin/pulsar.java-conventions.gradle.kts
+++ b/build-logic/conventions/src/main/kotlin/pulsar.java-conventions.gradle.kts
@@ -213,6 +213,9 @@ tasks.withType<Test>().configureEach {
})
}
useTestNG {
+ // Group classes and factory instances so their fixtures are released promptly.
+ isPreserveOrder = true
+ isGroupByInstances = true
listeners.addAll(listOf(
"org.apache.pulsar.tests.PulsarTestListener",
"org.apache.pulsar.tests.AnnotationListener",