From 408c34a042760fc135d08bef62d927c8ec5e4502 Mon Sep 17 00:00:00 2001 From: David Byron <82477955+dbyron-sf@users.noreply.github.com> Date: Fri, 10 Nov 2023 16:06:29 -0500 Subject: [PATCH] refactor(redis/test): update EmbeddedRedisConfig to use the hostname from EmbeddedRedis (#1408) --- .../spinnaker/front50/redis/config/EmbeddedRedisConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/front50-redis/src/test/groovy/com/netflix/spinnaker/front50/redis/config/EmbeddedRedisConfig.java b/front50-redis/src/test/groovy/com/netflix/spinnaker/front50/redis/config/EmbeddedRedisConfig.java index ab7369389..99905aacc 100644 --- a/front50-redis/src/test/groovy/com/netflix/spinnaker/front50/redis/config/EmbeddedRedisConfig.java +++ b/front50-redis/src/test/groovy/com/netflix/spinnaker/front50/redis/config/EmbeddedRedisConfig.java @@ -33,6 +33,7 @@ EmbeddedRedis embeddedRedis() { @Primary RedisConfigurationProperties redisConfigurationProperties(EmbeddedRedis embeddedRedis) { RedisConfigurationProperties redisConfigurationProperties = new RedisConfigurationProperties(); + redisConfigurationProperties.setHost(embeddedRedis.getHost()); redisConfigurationProperties.setPort(embeddedRedis.getPort()); return redisConfigurationProperties; }