aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/documentbucketmover
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2017-03-06 12:30:42 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2017-03-06 12:30:42 +0000
commit35cb1029bebb96f0c1ef0411fa70798b2fec6e34 (patch)
treedf8907c9b995e1d5c19a0845ea22668b4681f35c /searchcore/src/tests/proton/documentdb/documentbucketmover
parent048a758bca5e4f68b1a4040239041ea5afd21f76 (diff)
Change document meta store api to require document size as argument to
put method. Adjust unit tests to supply (dummy) document size. Change feed view to supply document size.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/documentbucketmover')
-rw-r--r--searchcore/src/tests/proton/documentdb/documentbucketmover/documentbucketmover_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/documentdb/documentbucketmover/documentbucketmover_test.cpp b/searchcore/src/tests/proton/documentdb/documentbucketmover/documentbucketmover_test.cpp
index 7842125c4c5..bda7f3b6f72 100644
--- a/searchcore/src/tests/proton/documentdb/documentbucketmover/documentbucketmover_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/documentbucketmover/documentbucketmover_test.cpp
@@ -135,7 +135,7 @@ struct MySubDb
for (size_t i = 0; i < bucketDocs.getDocs().size(); ++i) {
const test::Document &testDoc = bucketDocs.getDocs()[i];
_metaStore.put(testDoc.getGid(), testDoc.getBucket(),
- testDoc.getTimestamp(), testDoc.getLid());
+ testDoc.getTimestamp(), testDoc.getSize(), testDoc.getLid());
_realRetriever->_docs.push_back(testDoc.getDoc());
ASSERT_EQUAL(testDoc.getLid() + 1,
_realRetriever->_docs.size());