aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/lid_space_compaction
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-05-12 22:27:36 +0200
committerGitHub <noreply@github.com>2021-05-12 22:27:36 +0200
commitd3062ffb8f2be5538997d3352121129eef454221 (patch)
treec95e1b75a7a6c5e3f4c505e289123c0278a9bbe1 /searchcore/src/tests/proton/documentdb/lid_space_compaction
parent31a5e23e926d87c963295f47e2899679ed02d692 (diff)
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.cpp7
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);