This is an automated email from the ASF dual-hosted git repository. robbie pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push: new 424ed6123b ARTEMIS-4412: make connection spread check less optimistic to counter sporadic failures 424ed6123b is described below commit 424ed6123b0e54e105fb52d2a1f96db6b7b6221b Author: Robbie Gemmell <rob...@apache.org> AuthorDate: Thu Aug 31 09:48:56 2023 +0100 ARTEMIS-4412: make connection spread check less optimistic to counter sporadic failures --- .../activemq/transport/failover/TwoBrokerFailoverClusterTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/failover/TwoBrokerFailoverClusterTest.java b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/failover/TwoBrokerFailoverClusterTest.java index 0b1896b3ed..56ba183d76 100644 --- a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/failover/TwoBrokerFailoverClusterTest.java +++ b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/transport/failover/TwoBrokerFailoverClusterTest.java @@ -55,7 +55,7 @@ public class TwoBrokerFailoverClusterTest extends OpenwireArtemisBaseTest { Thread.sleep(5000); assertClientsConnectedToTwoBrokers(); - assertClientsConnectionsEvenlyDistributed(.35); + assertClientsConnectionsEvenlyDistributed(.26); server0.stop(); Assert.assertTrue(server1.waitClusterForming(100, TimeUnit.MILLISECONDS, 20, 1)); @@ -73,7 +73,7 @@ public class TwoBrokerFailoverClusterTest extends OpenwireArtemisBaseTest { //need update-cluster-clients, -on-remove and rebalance set to true. assertClientsConnectedToTwoBrokers(); - assertClientsConnectionsEvenlyDistributed(.35); + assertClientsConnectionsEvenlyDistributed(.26); } @Before