diff options
author | Geir Storli <geirst@verizonmedia.com> | 2019-03-15 09:34:52 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2019-03-15 09:49:12 +0000 |
commit | 53d38e5de533d0102a2e5a965b264f5692d170bd (patch) | |
tree | 00bc2b97a2362eaa749812a4e0ca0352df7e1e4e /searchlib/src/tests/attribute/compaction | |
parent | 2e8f039246b4b69303f2da48f37819a6c24ce887 (diff) |
Rename "cluster" concept in buffer type to "array".
Diffstat (limited to 'searchlib/src/tests/attribute/compaction')
-rw-r--r-- | searchlib/src/tests/attribute/compaction/attribute_compaction_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/tests/attribute/compaction/attribute_compaction_test.cpp b/searchlib/src/tests/attribute/compaction/attribute_compaction_test.cpp index ce9e6bc737e..0ea6a029e84 100644 --- a/searchlib/src/tests/attribute/compaction/attribute_compaction_test.cpp +++ b/searchlib/src/tests/attribute/compaction/attribute_compaction_test.cpp @@ -174,8 +174,8 @@ TEST_F("Test that no compaction of int8 array attribute increases address space f.populate(range1, 1000); f.hammer(range2, 101); AddressSpace afterSpace = f.getMultiValueAddressSpaceUsage("after"); - // 100 * 1000 dead clusters due to new values for docids - // 1 reserved cluster accounted as dead + // 100 * 1000 dead arrays due to new values for docids + // 1 reserved array accounted as dead EXPECT_EQUAL(100001u, afterSpace.dead()); } @@ -186,7 +186,7 @@ TEST_F("Test that compaction of int8 array attribute limits address space usage" f.populate(range1, 1000); f.hammer(range2, 101); AddressSpace afterSpace = f.getMultiValueAddressSpaceUsage("after"); - // DEAD_CLUSTERS_SLACK in multi value mapping is is 64k + // DEAD_ARRAYS_SLACK in multi value mapping is is 64k EXPECT_GREATER(65536u, afterSpace.dead()); } |