aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/tests/attribute/attributemanager/attributemanager_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/searchlib/src/tests/attribute/attributemanager/attributemanager_test.cpp b/searchlib/src/tests/attribute/attributemanager/attributemanager_test.cpp
index d654be1c460..a32ab773ec1 100644
--- a/searchlib/src/tests/attribute/attributemanager/attributemanager_test.cpp
+++ b/searchlib/src/tests/attribute/attributemanager/attributemanager_test.cpp
@@ -232,6 +232,12 @@ TEST("require that config can be converted")
}
{
CACA a;
+ EXPECT_EQUAL(130000u, CC::convert(a).getMaxUnCommittedMemory());
+ a.maxuncommittedmemory = 23523;
+ EXPECT_EQUAL(23523u, CC::convert(a).getMaxUnCommittedMemory());
+ }
+ {
+ CACA a;
EXPECT_TRUE(!CC::convert(a).isMutable());
a.ismutable = true;
EXPECT_TRUE(CC::convert(a).isMutable());