diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-06-29 10:05:22 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-06-29 10:05:22 +0000 |
commit | b7d598963e2550b229b7cc7682bae82691cda2d8 (patch) | |
tree | 61ff164ec6babd444a4521e8799d065a5330795c /searchcore | |
parent | 851da9edc157c83466db60159b816b73a4d75ec6 (diff) |
Update comment to reflect reality.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp | 4 |
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)); } |