summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/document_iterator
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-06-24 10:07:44 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-06-24 10:07:44 +0000
commit94563f45d4dbcc29499ff6cd82e0acbe1c050738 (patch)
tree49872649018d24bf0a05bce67a5588c29e465d08 /searchcore/src/tests/proton/document_iterator
parentab55ec5e7fa5ca86a1c53abaa69fc2a97d535e86 (diff)
Remove test that does not make sense anymore.
Diffstat (limited to 'searchcore/src/tests/proton/document_iterator')
-rw-r--r--searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp11
1 files changed, 0 insertions, 11 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 e0d92cd2a1a..ee5d247b4ca 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,6 @@ void verifyStrongReadConsistency(DocumentIterator & itr) {
EXPECT_EQUAL(1u, committer._commitAndWaitCount);
}
-void verifyWeakReadConsistency(DocumentIterator & itr) {
- Committer committer;
- TEST_DO(verifyReadConsistency(itr, committer));
- EXPECT_EQUAL(0u, committer._commitAndWaitCount);
-}
-
TEST("require that default readconsistency does commit") {
DocumentIterator itr(bucket(5), document::AllFields(), selectAll(), newestV(), -1, false);
TEST_DO(verifyStrongReadConsistency(itr));
@@ -525,11 +519,6 @@ TEST("require that readconsistency::strong does commit") {
TEST_DO(verifyStrongReadConsistency(itr));
}
-TEST("require that readconsistency::weak does not commit") {
- DocumentIterator itr(bucket(5), document::AllFields(), selectAll(), newestV(), -1, false, storage::spi::ReadConsistency::WEAK);
- TEST_DO(verifyWeakReadConsistency(itr));
-}
-
TEST("require that remove entries can be iterated") {
DocumentIterator itr(bucket(5), document::AllFields(), selectAll(), newestV(), -1, false);
itr.add(rem("doc:foo:1", Timestamp(2), bucket(5)));