diff options
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp b/searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp index eadc7566162..2c54188af3a 100644 --- a/searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp +++ b/searchcore/src/tests/proton/documentdb/storeonlyfeedview/storeonlyfeedview_test.cpp @@ -159,10 +159,11 @@ struct Fixture { typedef DocumentMetaStore::Result Result; DocumentId id(make_string("groupdoc:test:foo:%d", expected_lid)); Result inspect = meta_store->inspect(id.getGlobalId()); + uint32_t docSize = 1; EXPECT_EQUAL(expected_lid, meta_store->put(id.getGlobalId(), id.getGlobalId().convertToBucketId(), - Timestamp(10), inspect.getLid()).getLid()); + Timestamp(10), docSize, inspect.getLid()).getLid()); } void addDocsToMetaStore(int count) { @@ -219,12 +220,13 @@ TEST_F("require that handleMove handles move within same subdb", Fixture) { Document::SP doc(new Document); DocumentId doc1id("groupdoc:test:foo:1"); + uint32_t docSize = 1; f.runInMaster([&] () { f.meta_store->put(doc1id.getGlobalId(), doc1id.getGlobalId().convertToBucketId(), - Timestamp(9), 1); }); + Timestamp(9), docSize, 1); }); f.runInMaster([&] () { f.meta_store->put(doc->getId().getGlobalId(), doc->getId().getGlobalId().convertToBucketId(), - Timestamp(10), 2); }); + Timestamp(10), docSize, 2); }); f.runInMaster([&] () { f.meta_store->remove(1); }); f.meta_store->removeComplete(1); MoveOperation op(doc->getId().getGlobalId().convertToBucketId(), |