From 49e0d17a9bf74d46e698e345b6d896752040fb59 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Tue, 22 Aug 2023 11:38:26 +0200 Subject: [PATCH] Disable flaky reactor tests See gh-36302 --- .../boot/reactor/ReactorEnvironmentPostProcessorTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/reactor/ReactorEnvironmentPostProcessorTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/reactor/ReactorEnvironmentPostProcessorTests.java index b7aeae2877..29efc1f0b2 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/reactor/ReactorEnvironmentPostProcessorTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/reactor/ReactorEnvironmentPostProcessorTests.java @@ -17,13 +17,13 @@ package org.springframework.boot.reactor; import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledForJreRange; import org.junit.jupiter.api.condition.JRE; import reactor.core.Scannable; import reactor.core.publisher.Flux; -import org.springframework.boot.testsupport.classpath.ClassPathOverrides; import org.springframework.mock.env.MockEnvironment; import static org.assertj.core.api.Assertions.assertThat; @@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Brian Clozel */ -@ClassPathOverrides("io.projectreactor:reactor-tools:3.5.9") +@Disabled("Tests rely on static initialization and are flaky on CI") class ReactorEnvironmentPostProcessorTests { static {