Skip to content

Commit 945e4b9

Browse files
filiphrmarcphilipp
andauthored
Remove JAVA_TOOL_OPTIONS when running platform tooling supports tests
When a user has the JAVA_TOOL_OPTIONS set in their environment, java will print "Picked up JAVA_TOOL_OPTIONS: ..." on the error stream This leads to failure in some of the Platform Tooling Tests Co-authored-by: Marc Philipp <[email protected]>
1 parent 3d73144 commit 945e4b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform-tooling-support-tests/platform-tooling-support-tests.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ tasks.test {
140140
dependsOn(normalizeMavenRepo)
141141
jvmArgumentProviders += MavenRepo(project, normalizeMavenRepo.map { it.destinationDir })
142142
}
143+
environment.remove("JAVA_TOOL_OPTIONS")
143144

144145
jvmArgumentProviders += JarPath(project, thirdPartyJarsClasspath.get(), "thirdPartyJars")
145146
jvmArgumentProviders += JarPath(project, antJarsClasspath.get(), "antJars")

0 commit comments

Comments
 (0)