This is an automated email from the ASF dual-hosted git repository.

paulk-asert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 200f089ee73d76b23b43a159c63e3b1d8638ce44
Author: Paul King <[email protected]>
AuthorDate: Thu May 7 19:26:17 2026 +1000

    GROOVY-11997: Add @ForkedJvm JUnit extension (use classpath filtering)
---
 build-logic/src/main/groovy/org.apache.groovy-tested.gradle | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/build-logic/src/main/groovy/org.apache.groovy-tested.gradle 
b/build-logic/src/main/groovy/org.apache.groovy-tested.gradle
index b0b76b9660..518f879ad5 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-tested.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-tested.gradle
@@ -62,6 +62,10 @@ tasks.withType(Test).configureEach {
     }
     systemProperty 'apple.awt.UIElement', 'true'
     systemProperty 'javadocAssertion.src.dir', './src/main'
+    // Suppress TestLens (app.testlens:junit-platform-instrumentation) inside
+    // @ForkedJvm child JVMs to avoid false flakiness triggers.
+    // Harmless when TestLens isn't on the classpath (no entries match).
+    systemProperty 'groovy.junit6.forked.excludeClasspath', 
'junit-platform-instrumentation'
 //    systemProperty 'groovy.grape.report.downloads', 'true'
 //    systemProperty 'ivy.message.logger.level', '4'
 

Reply via email to