Skip to content

Commit

Permalink
Remove disabling spring-boot-autoconfigure tests on openj9 18 (#10551)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Feb 14, 2024
1 parent 32b3326 commit 37b145b
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,5 @@ tasks {
// required on jdk17
jvmArgs("--add-opens=java.base/java.lang=ALL-UNNAMED")
jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")

// disable tests on openj9 18 because they often crash JIT compiler
val testJavaVersion = gradle.startParameter.projectProperties["testJavaVersion"]?.let(JavaVersion::toVersion)
val testOnOpenJ9 = gradle.startParameter.projectProperties["testJavaVM"]?.run { this == "openj9" }
?: false
if (testOnOpenJ9 && testJavaVersion?.majorVersion == "18") {
enabled = false
}
}
}

0 comments on commit 37b145b

Please sign in to comment.