summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp')
-rw-r--r--searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp b/searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp
index 78fba03bf38..12bba229821 100644
--- a/searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp
+++ b/searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp
@@ -509,12 +509,12 @@ void verifyIterateIgnoringStopSignal(DocumentIterator & itr) {
EXPECT_EQUAL(0u, res.getEntries().size());
}
-TEST("require that iterator stops, even when misused") {
+TEST("require that iterator stops at the end, and does not auto rewind") {
DocumentIterator itr(bucket(5), document::AllFields(), selectAll(), newestV(), -1, false);
TEST_DO(verifyIterateIgnoringStopSignal(itr));
}
-TEST("require that iterator ignoring maxbytes stops, even when misused") {
+TEST("require that iterator ignoring maxbytes stops at the end, and does not auto rewind") {
DocumentIterator itr(bucket(5), document::AllFields(), selectAll(), newestV(), -1, true);
TEST_DO(verifyIterateIgnoringStopSignal(itr));
}