summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/posting_store/posting_store_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/attribute/posting_store/posting_store_test.cpp')
-rw-r--r--searchlib/src/tests/attribute/posting_store/posting_store_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/attribute/posting_store/posting_store_test.cpp b/searchlib/src/tests/attribute/posting_store/posting_store_test.cpp
index 34b8603c63c..10cc14012dd 100644
--- a/searchlib/src/tests/attribute/posting_store/posting_store_test.cpp
+++ b/searchlib/src/tests/attribute/posting_store/posting_store_test.cpp
@@ -163,7 +163,7 @@ PostingStoreTest::test_compact_sequence(uint32_t sequence_length)
bool compaction_done = false;
CompactionStrategy compaction_strategy(0.05, 0.2);
for (uint32_t pass = 0; pass < 45; ++pass) {
- store.update_stat();
+ store.update_stat(compaction_strategy);
auto guard = _gen_handler.takeGuard();
if (!store.consider_compact_worst_buffers(compaction_strategy)) {
compaction_done = true;
@@ -196,7 +196,7 @@ PostingStoreTest::test_compact_btree_nodes(uint32_t sequence_length)
bool compaction_done = false;
CompactionStrategy compaction_strategy(0.05, 0.2);
for (uint32_t pass = 0; pass < 55; ++pass) {
- store.update_stat();
+ store.update_stat(compaction_strategy);
auto guard = _gen_handler.takeGuard();
if (!store.consider_compact_worst_btree_nodes(compaction_strategy)) {
compaction_done = true;