summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp')
-rw-r--r--searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp b/searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp
index bd1b63c01d8..2faaa371fca 100644
--- a/searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp
+++ b/searchlib/src/tests/attribute/enum_attribute_compaction/enum_attribute_compaction_test.cpp
@@ -174,9 +174,8 @@ template <typename VectorType>
void
CompactionTest<VectorType>::test_enum_store_compaction()
{
- constexpr size_t DEAD_BYTES_SLACK = 0x10000u;
constexpr uint32_t canary_stride = 256;
- uint32_t dead_limit = DEAD_BYTES_SLACK / 8;
+ uint32_t dead_limit = search::CompactionStrategy::DEAD_BYTES_SLACK / 8;
uint32_t doc_count = dead_limit * 3;
if (_v->hasMultiValue() || std::is_same_v<VectorType,StringAttribute>) {
doc_count /= 2;