Skip to content

Commit

Permalink
Reduce to 50 iterations to be a good middle value
Browse files Browse the repository at this point in the history
  • Loading branch information
nisargthakkar committed Dec 14, 2024
1 parent f5025fc commit 86a2bc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public void testControllerClientWithInvalidUrls() throws IOException {
// When only some controllers are missing, the ConnectException should never be bubbled up. Since this behavior is
// triggered from Java libs, and we randomize the controller list to do some load balancing, the best way to
// validate is to try multiple invocations
IntStream.rangeClosed(1, 100).parallel().forEach(i -> {
IntStream.rangeClosed(1, 50).parallel().forEach(i -> {
D2ServiceDiscoveryResponse discoResponsePartialValidController = ControllerClient
.discoverCluster(nonExistentControllerUrl1 + "," + validControllerUrl, storeName, Optional.empty(), 1);
Assert.assertFalse(discoResponsePartialValidController.isError());
Expand Down

0 comments on commit 86a2bc7

Please sign in to comment.