diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-05-18 00:01:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-18 00:01:42 +0200 |
commit | a8c7dc00192bd0736844e2711f16532fd8c71daa (patch) | |
tree | 873c7ffabc9d08c7df996737d7f895edc950b8a2 /searchcore/src/tests/proton/documentdb/lid_space_compaction | |
parent | db693286334d5966fb7e4a7d4549a6f9349fe6fa (diff) |
Revert "Revert "Revert "Revert "Revert "Revert "Now that everything is controlled bucketwise by the bucket db we shou…""""""
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/lid_space_compaction')
-rw-r--r-- | searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_handler_test.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_handler_test.cpp b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_handler_test.cpp index 2ca1101ac3a..369d4f85c73 100644 --- a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_handler_test.cpp +++ b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_handler_test.cpp @@ -38,13 +38,6 @@ TEST_F(HandlerTest, createMoveOperation_works_as_expected) const BucketId bucketId(100); const Timestamp timestamp(200); DocumentMetaData document(moveFromLid, timestamp, bucketId, GlobalId()); - { - EXPECT_FALSE(_subDb.maintenance_sub_db.lidNeedsCommit(moveFromLid)); - IPendingLidTracker::Token token = _subDb._pendingLidsForCommit.produce(moveFromLid); - EXPECT_TRUE(_subDb.maintenance_sub_db.lidNeedsCommit(moveFromLid)); - MoveOperation::UP op = _handler.createMoveOperation(document, moveToLid); - ASSERT_FALSE(op); - } EXPECT_FALSE(_subDb.maintenance_sub_db.lidNeedsCommit(moveFromLid)); MoveOperation::UP op = _handler.createMoveOperation(document, moveToLid); ASSERT_TRUE(op); |