File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
spring-test/src/main/java/org/springframework/test/context Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 76
76
*
77
77
* @DynamicPropertySource
78
78
* static void redisProperties(DynamicPropertyRegistry registry) {
79
- * registry.add("redis.host", redis::getContainerIpAddress );
79
+ * registry.add("redis.host", redis::getHost );
80
80
* registry.add("redis.port", redis::getMappedPort);
81
81
* }
82
82
*
Original file line number Diff line number Diff line change @@ -4295,7 +4295,7 @@ properties.
4295
4295
4296
4296
@DynamicPropertySource
4297
4297
static void redisProperties(DynamicPropertyRegistry registry) {
4298
- registry.add("redis.host", redis::getContainerIpAddress );
4298
+ registry.add("redis.host", redis::getHost );
4299
4299
registry.add("redis.port", redis::getMappedPort);
4300
4300
}
4301
4301
@@ -4319,7 +4319,7 @@ properties.
4319
4319
@DynamicPropertySource
4320
4320
@JvmStatic
4321
4321
fun redisProperties(registry: DynamicPropertyRegistry) {
4322
- registry.add("redis.host", redis::getContainerIpAddress )
4322
+ registry.add("redis.host", redis::getHost )
4323
4323
registry.add("redis.port", redis::getMappedPort)
4324
4324
}
4325
4325
}
You can’t perform that action at this time.
0 commit comments