Skip to content

Commit f853e66

Browse files
author
Gerrit Code Review
committed
Merge "Merge commit neo/c88c04aa0 into master"
2 parents a694b30 + ac8e992 commit f853e66

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

engines/ep/tests/module_tests/checkpoint_remover_test.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -633,22 +633,22 @@ TEST_P(CheckpointRemoverEPTest,
633633
cm->incrCursor(*cursor);
634634
}
635635

636-
// Can now expel the 2 items in (ckpt_start, cursor)
636+
// Can now expel the 2 items in (ckpt_start, cursor]
637637
auto result = cm->expelUnreferencedCheckpointItems();
638638

639-
EXPECT_EQ(2, result.count);
639+
EXPECT_EQ(3, result.count);
640640

641641
/* items in first checkpoint
642642
*
643643
* dummy
644644
* chk start
645-
* key_1
646645
* key_2
646+
* chk end
647647
*/
648648

649649
afterCount = getItemsWithCursor("Cursor4", 0, true).size();
650650

651-
EXPECT_EQ(beforeCount - 2, afterCount);
651+
EXPECT_EQ(beforeCount - 3, afterCount);
652652
}
653653

654654
TEST_P(CheckpointRemoverEPTest, earliestCheckpointSelectedCorrectly) {

engines/ep/tests/module_tests/checkpoint_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2501,7 +2501,7 @@ TEST_P(ReplicaCheckpointTest, ExpelCheckpointItemsDisk) {
25012501

25022502
// Test that we correctly handle duplicates, where the initial version of the
25032503
// document has been expelled.
2504-
TEST_P(CheckpointTest, ExpelCheckpointItemsWithDuplicateTest) {
2504+
TEST_P(CheckpointTest, ExpelCheckpointItemsWithDuplicate) {
25052505
const int itemCount{3};
25062506

25072507
for (auto ii = 0; ii < itemCount; ++ii) {

0 commit comments

Comments
 (0)