Disable Infinispan tests on Java 23
Infinispan 14 does not work on Java 23, an upgrade to 15 is required. This commit therefore disables those tests when running against a Java version higher than 22. Unfortunately, the version of JUnit that we use has no value for Java 23, so we have to use OTHER for that purpose.
This commit is contained in:
@@ -86,6 +86,7 @@ def testHazelcast = tasks.register("testHazelcast", Test) {
|
||||
}
|
||||
|
||||
def testInfinispan = tasks.register("testInfinispan", Test) {
|
||||
enabled = (toolchain.javaVersion == null || toolchain.javaVersion.asInt() < 23)
|
||||
description = "Runs the tests against Infinispan"
|
||||
classpath = sourceSets.test.runtimeClasspath + configurations.infinispan
|
||||
systemProperties = ["spring.cache.jcache.config" : "classpath:infinispan.xml"]
|
||||
|
||||
Reference in New Issue
Block a user