ARTEMIS-4412: make connection spread check less optimistic to counter sporadic failures

This commit is contained in:
Robbie Gemmell 2023-08-31 09:48:56 +01:00
parent b2c08f356b
commit 424ed6123b
1 changed files with 2 additions and 2 deletions

View File

@ -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