Skip to content

Commit

Permalink
fix random assertions (#8702)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrlw committed Sep 8, 2021
1 parent 233be16 commit abb2109
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -358,7 +358,7 @@ public void testSelect_multiInvokers(String lbname) throws Exception {
int min = 1000, max = 5000;
Double d = (Math.random() * (max - min + 1) + min);
int runs = d.intValue();
Assertions.assertTrue(runs > min);
Assertions.assertTrue(runs >= min);
LoadBalance lb = ExtensionLoader.getExtensionLoader(LoadBalance.class).getExtension(lbname);
initlistsize5();
for (int i = 0; i < runs; i++) {
Expand Down

0 comments on commit abb2109

Please sign in to comment.