Skip to content

Commit

Permalink
refactor(redis/test): update EmbeddedRedisConfig to use the hostname …
Browse files Browse the repository at this point in the history
…from EmbeddedRedis (#1408)
  • Loading branch information
dbyron-sf authored Nov 10, 2023
1 parent dde66b8 commit 408c34a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 408c34a

Please sign in to comment.