Skip to content

Commit 13c8f87

Browse files
committed
fix test
1 parent 23ef15a commit 13c8f87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/arangodb/ArangoSearchTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public void updateProperties() throws InterruptedException, ExecutionException {
164164
final ArangoSearchPropertiesOptions options = new ArangoSearchPropertiesOptions();
165165
options.cleanupIntervalStep(15L);
166166
options.consolidationIntervalMsec(65000L);
167-
options.consolidationPolicy(ConsolidationPolicy.of(ConsolidationType.COUNT).threshold(1.));
167+
options.consolidationPolicy(ConsolidationPolicy.of(ConsolidationType.BYTES_ACCUM).threshold(1.));
168168
options.link(
169169
CollectionLink.on("view_update_prop_test_collection").fields(FieldLink.on("value").analyzers("identity")
170170
.trackListPositions(true).includeAllFields(true).storeValues(StoreValuesType.ID)));
@@ -174,7 +174,7 @@ public void updateProperties() throws InterruptedException, ExecutionException {
174174
assertThat(properties.getConsolidationIntervalMsec(), is(65000L));
175175
final ConsolidationPolicy consolidate = properties.getConsolidationPolicy();
176176
assertThat(consolidate, is(not(nullValue())));
177-
assertThat(consolidate.getType(), is(ConsolidationType.COUNT));
177+
assertThat(consolidate.getType(), is(ConsolidationType.BYTES_ACCUM));
178178
assertThat(consolidate.getThreshold(), is(1.));
179179
assertThat(properties.getLinks().size(), is(1));
180180
final CollectionLink link = properties.getLinks().iterator().next();

0 commit comments

Comments
 (0)