Skip to content

Commit 2666138

Browse files
dev-jonghoonparkfanxt0218
authored andcommitted
Fix Error in ChromaVectorStoreAutoConfigurationIT Due to Updated Exception Message (#3581)
Fixes #3581 Auto-cherry-pick to 1.0.x Signed-off-by: jonghoonpark <dev@jonghoonpark.com> Signed-off-by: fanxt0218 <3515228784@qq.com>
1 parent 6a0f1b7 commit 2666138

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

auto-configurations/vector-stores/spring-ai-autoconfigure-vector-store-chroma/src/test/java/org/springframework/ai/vectorstore/chroma/autoconfigure/ChromaVectorStoreAutoConfigurationIT.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023-2024 the original author or authors.
2+
* Copyright 2023-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -60,6 +60,7 @@
6060
* @author Eddú Meléndez
6161
* @author Soby Chacko
6262
* @author Thomas Vitale
63+
* @author Jonghoon Park
6364
*/
6465
@Testcontainers
6566
public class ChromaVectorStoreAutoConfigurationIT {
@@ -182,7 +183,7 @@ public void throwExceptionOnMissingCollectionAndDisabledInitializedSchema() {
182183
.hasCauseInstanceOf(BeanCreationException.class)
183184
.hasRootCauseExactlyInstanceOf(RuntimeException.class)
184185
.hasRootCauseMessage(
185-
"Collection TestCollection doesn't exist and won't be created as the initializeSchema is set to false."));
186+
"Collection TestCollection with the tenant: SpringAiTenant and the database: SpringAiDatabase doesn't exist and won't be created as the initializeSchema is set to false."));
186187
}
187188

188189
@Test

0 commit comments

Comments
 (0)