Fix a silly typo when generating Redis URIs for tests

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2025-07-17 13:16:14 -04:00
1 parent 631b9a5290
commit 73365369df
1 file changed
+2 -2
@@ -140,8 +140,8 @@ public class RedisClusterExtension implements BeforeAllCallback, BeforeEachCallb
redisUris = Arrays.stream(REDIS_SERVICE_NAMES)
.map(serviceName -> RedisURI.create(
composeContainer.getServiceHost("redis-0-1", REDIS_PORT),
composeContainer.getServicePort("redis-0-1", REDIS_PORT)))
composeContainer.getServiceHost(serviceName, REDIS_PORT),
composeContainer.getServicePort(serviceName, REDIS_PORT)))
.toList();
// Wait for the cluster to be fully up; just having the containers running isn't enough since they still need to do