From ff2fcfd4e65d174901348fd5e758692278d63f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Basl=C3=A9?= Date: Mon, 20 Sep 2021 16:33:04 +0200 Subject: [PATCH] Tune test performanceOfContinuouslyCancellingGroup This commit tunes the magnitude configuration in the FluxGroupByTest performanceOfContinuouslyCancellingGroups test. Previously it was downsized a bit too low to 10K, but 100K was causing flakyness. 30K seems to be a good middle ground. Fixes #2740. --- .../src/test/java/reactor/core/publisher/FluxGroupByTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactor-core/src/test/java/reactor/core/publisher/FluxGroupByTest.java b/reactor-core/src/test/java/reactor/core/publisher/FluxGroupByTest.java index 548c01f237..fdfeb524d7 100644 --- a/reactor-core/src/test/java/reactor/core/publisher/FluxGroupByTest.java +++ b/reactor-core/src/test/java/reactor/core/publisher/FluxGroupByTest.java @@ -74,7 +74,7 @@ void performanceOfContinuouslyCancellingGroups() throws Exception { latch.await(); assertThat(upstream).as("upstream and downstream consistent").hasValue(downstream.get()); - assertThat(downstream).as("order of magnitude").hasValueGreaterThan(9_999); + assertThat(downstream).as("order of magnitude").hasValueGreaterThan(30_000); } @Override