diff --git a/reactor-core/src/test/java/reactor/core/scheduler/BoundedElasticSchedulerTest.java b/reactor-core/src/test/java/reactor/core/scheduler/BoundedElasticSchedulerTest.java index 4afe6a6dca..aa6d4fae60 100644 --- a/reactor-core/src/test/java/reactor/core/scheduler/BoundedElasticSchedulerTest.java +++ b/reactor-core/src/test/java/reactor/core/scheduler/BoundedElasticSchedulerTest.java @@ -49,6 +49,7 @@ import org.assertj.core.data.Offset; import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.provider.CsvSource; @@ -321,6 +322,7 @@ public void whenCapReachedPicksLeastBusyExecutor() throws InterruptedException { "1000, 1", "1000, 100", "1000, 1000", "10000, 1", "10000, 100", "10000, 1000" } ) + @Disabled("flaky, the boundedElasticScheduler is not 100% consistent in picking patterns") void whenCapReachedPicksLeastBusyExecutorWithContention(int maxThreads, int contention) throws InterruptedException { BoundedElasticScheduler s = scheduler(maxThreads); HashSet boundedStates = new HashSet<>();