Skip to content

Commit a7b837a

Browse files
committed
Fix RedisVectorStoreObservationIT
- Add missing test config "spring.data.redis.client-type=jedis" Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
1 parent 02e237d commit a7b837a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vector-stores/spring-ai-redis-store/src/test/java/org/springframework/ai/vectorstore/redis/RedisVectorStoreObservationIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ public class RedisVectorStoreObservationIT {
6969
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
7070
.withConfiguration(AutoConfigurations.of(DataRedisAutoConfiguration.class))
7171
.withUserConfiguration(Config.class)
72-
.withPropertyValues("spring.data.redis.url=" + redisContainer.getRedisURI());
72+
.withPropertyValues("spring.data.redis.url=" + redisContainer.getRedisURI())
73+
.withPropertyValues("spring.data.redis.client-type=jedis");
7374

7475
List<Document> documents = List.of(
7576
new Document(getText("classpath:/test/data/spring.ai.txt"), Map.of("meta1", "meta1")),

0 commit comments

Comments
 (0)