Commit 690019ba authored by Stephane Nicoll's avatar Stephane Nicoll

Polish "Disable tests that are failing on Java 13"

See gh-17607
parent 5f3fff64
...@@ -25,6 +25,8 @@ import org.assertj.core.api.Condition; ...@@ -25,6 +25,8 @@ import org.assertj.core.api.Condition;
import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnJre;
import org.junit.jupiter.api.condition.JRE;
import org.springframework.beans.factory.BeanCreationException; import org.springframework.beans.factory.BeanCreationException;
import org.springframework.boot.autoconfigure.AutoConfigurations; import org.springframework.boot.autoconfigure.AutoConfigurations;
...@@ -73,6 +75,7 @@ class HazelcastAutoConfigurationClientTests { ...@@ -73,6 +75,7 @@ class HazelcastAutoConfigurationClientTests {
} }
@Test @Test
@DisabledOnJre(JRE.JAVA_13)
void systemPropertyWithYaml() { void systemPropertyWithYaml() {
this.contextRunner this.contextRunner
.withSystemProperties(HazelcastClientConfiguration.CONFIG_SYSTEM_PROPERTY .withSystemProperties(HazelcastClientConfiguration.CONFIG_SYSTEM_PROPERTY
...@@ -87,6 +90,7 @@ class HazelcastAutoConfigurationClientTests { ...@@ -87,6 +90,7 @@ class HazelcastAutoConfigurationClientTests {
} }
@Test @Test
@DisabledOnJre(JRE.JAVA_13)
void explicitConfigFileWithYaml() { void explicitConfigFileWithYaml() {
this.contextRunner this.contextRunner
.withPropertyValues("spring.hazelcast.config=org/springframework/boot/autoconfigure/" .withPropertyValues("spring.hazelcast.config=org/springframework/boot/autoconfigure/"
...@@ -103,6 +107,7 @@ class HazelcastAutoConfigurationClientTests { ...@@ -103,6 +107,7 @@ class HazelcastAutoConfigurationClientTests {
} }
@Test @Test
@DisabledOnJre(JRE.JAVA_13)
void explicitConfigUrlWithYaml() { void explicitConfigUrlWithYaml() {
this.contextRunner this.contextRunner
.withPropertyValues("spring.hazelcast.config=classpath:org/springframework/" .withPropertyValues("spring.hazelcast.config=classpath:org/springframework/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment