aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/attribute/attributeflush_test.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-08-27 11:42:57 +0200
committerTor Egge <Tor.Egge@broadpark.no>2019-08-27 11:44:11 +0200
commitbfda7c6337fdee7843a7004fbecceb8694d153d7 (patch)
treefbcef2cc977a5d9756daa7c10965fd69c6c4fd7c /searchcore/src/tests/proton/attribute/attributeflush_test.cpp
parent6130643ad1dd31064b47fcac4d07a3a590cbdf29 (diff)
Also update compaction count for old style compaction.
Test that compaction count is updated when compacting enum store. Style fixes.
Diffstat (limited to 'searchcore/src/tests/proton/attribute/attributeflush_test.cpp')
-rw-r--r--searchcore/src/tests/proton/attribute/attributeflush_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/attribute/attributeflush_test.cpp b/searchcore/src/tests/proton/attribute/attributeflush_test.cpp
index 1173fe4b625..36b1d64a7a9 100644
--- a/searchcore/src/tests/proton/attribute/attributeflush_test.cpp
+++ b/searchcore/src/tests/proton/attribute/attributeflush_test.cpp
@@ -635,7 +635,7 @@ Test::requireThatFlushFailurePreventsSyncTokenUpdate()
EXPECT_EQUAL(0u, flush_target->getFlushedSerialNum());
auto flush_task = flush_target->initFlush(200);
// Trigger flush failure
- av->getEnumStoreBase()->get_data_store_base().bump_compaction_count();
+ av->getEnumStoreBase()->get_data_store_base().inc_compaction_count();
flush_task->run();
EXPECT_EQUAL(0u, flush_target->getFlushedSerialNum());
}