Skip to content

Commit

Permalink
fixing ut
Browse files Browse the repository at this point in the history
  • Loading branch information
JobseRyan committed Aug 28, 2024
1 parent c3d21a4 commit 77b3211
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,8 @@ defaultRequestTimeoutMs, connectionSetupTimeoutMsTest, connectionSetupTimeoutMax
LeastLoadedNodeAlgorithm.VANILLA, new ArrayList<>());
nc.ready(node, time.milliseconds());
assertFalse(client.isReady(node, time.milliseconds()));
assertThrows(ConfigException.class, () -> nc.leastLoadedNode(time.milliseconds()));

assertEquals(null, nc.leastLoadedNode(time.milliseconds()));
}

Expand Down

0 comments on commit 77b3211

Please sign in to comment.