Skip to content

Commit

Permalink
ARTEMIS-4412: make connection spread check less optimistic to counter…
Browse files Browse the repository at this point in the history
… sporadic failures
  • Loading branch information
gemmellr committed Aug 31, 2023
1 parent b2c08f3 commit 424ed61
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void testTwoBrokersRestart() throws Exception {
Thread.sleep(5000);

assertClientsConnectedToTwoBrokers();
assertClientsConnectionsEvenlyDistributed(.35);
assertClientsConnectionsEvenlyDistributed(.26);

server0.stop();
Assert.assertTrue(server1.waitClusterForming(100, TimeUnit.MILLISECONDS, 20, 1));
Expand All @@ -73,7 +73,7 @@ public void testTwoBrokersRestart() throws Exception {

//need update-cluster-clients, -on-remove and rebalance set to true.
assertClientsConnectedToTwoBrokers();
assertClientsConnectionsEvenlyDistributed(.35);
assertClientsConnectionsEvenlyDistributed(.26);
}

@Before
Expand Down

0 comments on commit 424ed61

Please sign in to comment.