summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-04-12 21:02:51 +0200
committerGitHub <noreply@github.com>2023-04-12 21:02:51 +0200
commitd8b2de35b48871f0ba221e3d543deb0f2200431e (patch)
tree5445b2d2b8c7fe0c44b55e63047d12dca4d609f8
parentd9a3f7aa44b1018574ebc5fa77d91bfb9766d7f1 (diff)
parent75537ec837be5d3c3631ff1243b1d18dbbeb498c (diff)
Merge pull request #26717 from vespa-engine/toregge/handle-16k-page-size
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;