Browse Source

Fix redis prefix in tests

See gh-11574
pull/31997/head
Madhura Bhave 4 years ago
parent
commit
846340ad62
  1. 2
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/src/redisTest/java/smoketest/cache/SampleCacheApplicationRedisTests.java

2
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/src/redisTest/java/smoketest/cache/SampleCacheApplicationRedisTests.java vendored

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

Loading…
Cancel
Save