From 690019ba8f3959b6f18783cba4cbfdd4bdf65bc1 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 23 Jul 2019 15:51:21 +0200 Subject: [PATCH] Polish "Disable tests that are failing on Java 13" See gh-17607 --- .../hazelcast/HazelcastAutoConfigurationClientTests.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastAutoConfigurationClientTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastAutoConfigurationClientTests.java index 87d15d0a02..66e12d68d9 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastAutoConfigurationClientTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastAutoConfigurationClientTests.java @@ -25,6 +25,8 @@ import org.assertj.core.api.Condition; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; 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.boot.autoconfigure.AutoConfigurations; @@ -73,6 +75,7 @@ class HazelcastAutoConfigurationClientTests { } @Test + @DisabledOnJre(JRE.JAVA_13) void systemPropertyWithYaml() { this.contextRunner .withSystemProperties(HazelcastClientConfiguration.CONFIG_SYSTEM_PROPERTY @@ -87,6 +90,7 @@ class HazelcastAutoConfigurationClientTests { } @Test + @DisabledOnJre(JRE.JAVA_13) void explicitConfigFileWithYaml() { this.contextRunner .withPropertyValues("spring.hazelcast.config=org/springframework/boot/autoconfigure/" @@ -103,6 +107,7 @@ class HazelcastAutoConfigurationClientTests { } @Test + @DisabledOnJre(JRE.JAVA_13) void explicitConfigUrlWithYaml() { this.contextRunner .withPropertyValues("spring.hazelcast.config=classpath:org/springframework/"