Test rate limiters against a real cluster.

This commit is contained in:
Jon Chambers
2020-07-06 14:16:22 -04:00
committed by Jon Chambers
parent 6c1ba957bd
commit 933ce42d5a
2 changed files with 36 additions and 10 deletions

View File

@@ -143,7 +143,7 @@ public abstract class AbstractRedisClusterTest {
}
}
private static int getNextRedisClusterPort() throws IOException {
public static int getNextRedisClusterPort() throws IOException {
final int MAX_ITERATIONS = 11_000;
int port;
for (int i = 0; i < MAX_ITERATIONS; i++) {