Skip to content

Commit 30add80

Browse files
committed
Fix CassandraRichSchemaVectorStoreIT#ensureSchemaNoCreation
- Check index not existing exception Signed-off-by: Ilayaperumal Gopinathan <ilayaperumal.gopinathan@broadcom.com>
1 parent 9eeee61 commit 30add80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vector-stores/spring-ai-cassandra-store/src/test/java/org/springframework/ai/vectorstore/cassandra/CassandraRichSchemaVectorStoreIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ void ensureSchemaNoCreation() {
178178
IllegalStateException ise = Assertions.assertThrows(IllegalStateException.class,
179179
() -> createStore(context, List.of(), false, false));
180180

181-
Assertions.assertEquals("column all_minilm_l6_v2_embedding does not exist", ise.getMessage());
181+
Assertions.assertEquals("index all_minilm_l6_v2_ann does not exist", ise.getMessage());
182182
}
183183
finally {
184184
CassandraVectorStore.dropKeyspace(builder);

0 commit comments

Comments
 (0)