Skip to content

Commit bf16617

Browse files
committed
Fix OpenSearchContainerConnectionDetailsFactoryIT
- Add missing "spring.ai.vectorstore.opensearch.aws.enabled=false" to use for non AWS OpenSearch client Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
1 parent 6c9b4d6 commit bf16617

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-ai-spring-boot-testcontainers/src/test/java/org/springframework/ai/testcontainers/service/connection/opensearch/OpenSearchContainerConnectionDetailsFactoryIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ class OpenSearchContainerConnectionDetailsFactoryIT {
5555
OpenSearchVectorStoreAutoConfiguration.class))
5656
.withClassLoader(new FilteredClassLoader(Region.class, ApacheHttpClient.class))
5757
.withUserConfiguration(Config.class)
58-
.withPropertyValues("spring.ai.vectorstore.opensearch.initialize-schema=true",
58+
.withPropertyValues("spring.ai.vectorstore.opensearch.aws.enabled=false",
59+
"spring.ai.vectorstore.opensearch.initialize-schema=true",
5960
OpenSearchVectorStoreProperties.CONFIG_PREFIX + ".indexName=auto-spring-ai-document-index",
6061
OpenSearchVectorStoreProperties.CONFIG_PREFIX + ".mappingJson=" + """
6162
{

0 commit comments

Comments
 (0)