Fix CassandraRichSchemaVectorStoreIT#ensureSchemaNoCreation

- Check index not existing exception

Signed-off-by: Ilayaperumal Gopinathan <ilayaperumal.gopinathan@broadcom.com>
This commit is contained in:
Ilayaperumal Gopinathan
2025-05-16 13:35:57 +01:00
parent 9eeee6178c
commit 30add8089a

View File

@@ -178,7 +178,7 @@ class CassandraRichSchemaVectorStoreIT {
IllegalStateException ise = Assertions.assertThrows(IllegalStateException.class,
() -> createStore(context, List.of(), false, false));
Assertions.assertEquals("column all_minilm_l6_v2_embedding does not exist", ise.getMessage());
Assertions.assertEquals("index all_minilm_l6_v2_ann does not exist", ise.getMessage());
}
finally {
CassandraVectorStore.dropKeyspace(builder);