summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests')
-rw-r--r--searchlib/src/tests/searchcommon/attribute/config/attribute_config_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchlib/src/tests/searchcommon/attribute/config/attribute_config_test.cpp b/searchlib/src/tests/searchcommon/attribute/config/attribute_config_test.cpp
index 918e14546e6..8abe5dcc414 100644
--- a/searchlib/src/tests/searchcommon/attribute/config/attribute_config_test.cpp
+++ b/searchlib/src/tests/searchcommon/attribute/config/attribute_config_test.cpp
@@ -101,11 +101,12 @@ TEST("test operator== on attribute config for tensor type")
}
TEST("Test GrowStrategy consistency") {
- GrowStrategy g(1024, 0.5, 17, 0.4f);
+ GrowStrategy g(1024, 0.5, 17, 3, 0.4f);
EXPECT_EQUAL(1024u, g.getDocsInitialCapacity());
EXPECT_EQUAL(50u, g.getDocsGrowPercent());
EXPECT_EQUAL(0.5, g.getDocsGrowFactor());
EXPECT_EQUAL(17u, g.getDocsGrowDelta());
+ EXPECT_EQUAL(3u, g.getDocsMinimumCapacity());
EXPECT_EQUAL(0.4f, g.getMultiValueAllocGrowFactor());
}