diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-08-07 16:19:34 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-08-07 16:19:34 +0000 |
commit | b5a9416c8546f0bf8c5e59d64ea1e4102f5eec84 (patch) | |
tree | ff7e489203bf248fcb45a388aa42dd322085b5c4 /searchcore | |
parent | dc10b82a2e54294752f85c4949229424a07cbe94 (diff) |
Do not compute the hash on temporary sets. Wait till done.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp | 2 |
1 files changed, 1 insertions, 1 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 f52ca606900..b215cae9149 100644 --- a/searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp +++ b/searchcore/src/tests/proton/document_iterator/document_iterator_test.cpp @@ -749,7 +749,7 @@ TEST("require that document selection and timestamp range works together") { TEST("require that fieldset limits fields returned") { document::FieldCollection limited(getDocType()); - limited.insert(getDocType().getField("header")); + limited.insertField(getDocType().getField("header")).complete(); DocumentIterator itr(bucket(5), limited, selectAll(), newestV(), -1, false); itr.add(doc_with_fields("id:ns:foo::xxx1", Timestamp(1), bucket(5))); IterateResult res = itr.iterate(largeNum); |