summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahooinc.com>2023-04-12 14:42:35 +0200
committerTor Egge <Tor.Egge@yahooinc.com>2023-04-12 14:42:35 +0200
commit75537ec837be5d3c3631ff1243b1d18dbbeb498c (patch)
tree4d8679f5b0fb1e089468dc10796b44c937d4e59e
parent84bcda7387c5b69428a994f434f87f979200f734 (diff)
Handle 16k page size.
-rw-r--r--searchlib/src/tests/attribute/attribute_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/searchlib/src/tests/attribute/attribute_test.cpp b/searchlib/src/tests/attribute/attribute_test.cpp
index 91666eb29fd..d2d3ccaad23 100644
--- a/searchlib/src/tests/attribute/attribute_test.cpp
+++ b/searchlib/src/tests/attribute/attribute_test.cpp
@@ -2334,6 +2334,10 @@ AttributeTest::test_paged_attribute(const vespalib::string& name, const vespalib
size_t rounded_size = vespalib::round_up_to_page_size(1);
size_t lid_mapping_size = 1200;
size_t sv_maxlid = 1200;
+ if (rounded_size == 16_Ki) {
+ lid_mapping_size = 4200;
+ sv_maxlid = 1300;
+ }
if (rounded_size == 64_Ki) {
lid_mapping_size = 17000;
sv_maxlid = 1500;