summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/compaction
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-05-03 09:45:45 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-05-03 09:45:45 +0200
commitd5e14a8f61e4a8f5cf82722d479f14c7581bcec7 (patch)
tree9ff1599b799ce3090656a27d074e030243ba9a4a /searchlib/src/tests/attribute/compaction
parent3cd9c747e62ee82edfb5fedf4415f5daa45b3ab3 (diff)
Fix warnings hidden earlier due to including application headers as system includes
Diffstat (limited to 'searchlib/src/tests/attribute/compaction')
-rw-r--r--searchlib/src/tests/attribute/compaction/attribute_compaction_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/attribute/compaction/attribute_compaction_test.cpp b/searchlib/src/tests/attribute/compaction/attribute_compaction_test.cpp
index 03b5931c6b9..525643e377c 100644
--- a/searchlib/src/tests/attribute/compaction/attribute_compaction_test.cpp
+++ b/searchlib/src/tests/attribute/compaction/attribute_compaction_test.cpp
@@ -177,7 +177,7 @@ TEST_F("Test that no compaction of int8 array attribute increases address space
AddressSpace afterSpace = f.getMultiValueAddressSpaceUsage("after");
// 100 * 1000 dead clusters due to new values for docids
// 1 reserved cluster accounted as dead
- EXPECT_EQUAL(100001, afterSpace.dead());
+ EXPECT_EQUAL(100001u, afterSpace.dead());
}
TEST_F("Test that compaction of int8 array attribute limits address space usage", Fixture(compactAddressSpaceAttributeConfig(true)))
@@ -188,7 +188,7 @@ TEST_F("Test that compaction of int8 array attribute limits address space usage"
f.hammer(range2, 101);
AddressSpace afterSpace = f.getMultiValueAddressSpaceUsage("after");
// DEAD_CLUSTERS_SLACK in multi value mapping is is 64k
- EXPECT_GREATER(65536, afterSpace.dead());
+ EXPECT_GREATER(65536u, afterSpace.dead());
}
TEST_MAIN() { TEST_RUN_ALL(); }