summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/docsummary/docsummary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/tests/proton/docsummary/docsummary.cpp')
-rw-r--r--searchcore/src/tests/proton/docsummary/docsummary.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/docsummary/docsummary.cpp b/searchcore/src/tests/proton/docsummary/docsummary.cpp
index 266a817d380..05abf7fe514 100644
--- a/searchcore/src/tests/proton/docsummary/docsummary.cpp
+++ b/searchcore/src/tests/proton/docsummary/docsummary.cpp
@@ -246,7 +246,8 @@ public:
Timestamp(0u), docSize, lid, 0u));
LOG_ASSERT(putRes.ok());
uint64_t serialNum = _ddb->getFeedHandler().incSerialNum();
- _aw->put(serialNum, doc, lid, true, std::shared_ptr<IDestructorCallback>());
+ _aw->put(serialNum, doc, lid, std::shared_ptr<IDestructorCallback>());
+ _aw->forceCommit(serialNum, std::shared_ptr<IDestructorCallback>());
_ddb->getReadySubDB()->getAttributeManager()->getAttributeFieldWriter().sync();
_sa->put(serialNum, lid, doc);
const GlobalId &gid = docId.getGlobalId();