Merge branch '2.7.x'

Closes gh-32137
This commit is contained in:
Stephane Nicoll 2022-08-22 16:09:07 +02:00
commit b19f1cedb3

View File

@ -45,8 +45,7 @@ class SampleCacheApplicationRedisTests {
@DynamicPropertySource
static void redisProperties(DynamicPropertyRegistry properties) {
properties.add("spring.data.redis.url",
() -> "redis://" + redis.getContainerIpAddress() + ":" + redis.getFirstMappedPort());
properties.add("spring.data.redis.url", () -> "redis://" + redis.getHost() + ":" + redis.getFirstMappedPort());
}
@Test