Skip to content

Commit f45d569

Browse files
committed
test: re-fetch collection config before assertions
1 parent 99b97ef commit f45d569

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/it/java/io/weaviate/integration/CollectionsITest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ public void test_dropPropertyIndex() throws IOException {
362362
things.config.dropPropertyIndex("size", PropertyIndexType.FILTERABLE);
363363
things.config.dropPropertyIndex("size", PropertyIndexType.RANGE_FILTERS);
364364

365+
config = things.config.get();
365366
Assertions.assertThat(config).get()
366367
.extracting(CollectionConfig::properties, InstanceOfAssertFactories.list(Property.class))
367368
.allSatisfy(property -> Assertions.assertThat(property)

src/main/java/io/weaviate/client6/v1/api/collections/config/PropertyIndexType.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ private PropertyIndexType(String value) {
1111
this.value = value;
1212
}
1313

14+
@Override
1415
public String toString() {
1516
return value;
1617
}

0 commit comments

Comments
 (0)