summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/lid_space_compaction
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-01-21 15:38:11 +0100
committerGitHub <noreply@github.com>2021-01-21 15:38:11 +0100
commitd8a93dd7fb6765aaaedf056b2e6d49cc35af031f (patch)
tree664b171168e7898588bd5289bcb7b31e7680fc38 /searchcore/src/tests/proton/documentdb/lid_space_compaction
parent35e41e3ba5e94d7baf6c25f3e079c67b6df14331 (diff)
Update lid_space_compaction_test.cpp
Update comments to reflect reality.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/lid_space_compaction')
-rw-r--r--searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_compaction_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_compaction_test.cpp b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_compaction_test.cpp
index 869c5871b15..1e8e10d3dfa 100644
--- a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_compaction_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_compaction_test.cpp
@@ -492,11 +492,11 @@ TEST_F(JobTest, job_can_restart_documents_scan_if_lid_bloat_is_still_to_large)
{8,3}, // move 8 -> 3 (this should trigger rescan as the set of used docs have changed)
{6,7}}); // no documents to move
- EXPECT_FALSE(run()); // does not find 9 in first scan
+ EXPECT_FALSE(run()); // move 9 -> 2
assertJobContext(2, 9, 1, 0, 0);
EXPECT_EQ(1u, _handler->_iteratorCnt);
// We simulate that the set of used docs have changed between these 2 runs
- EXPECT_FALSE(run()); // move 9 -> 2
+ EXPECT_FALSE(run()); // move 8 -> 3
endScan();
assertJobContext(3, 8, 2, 0, 0);
EXPECT_EQ(2u, _handler->_iteratorCnt);