Diffusion Baloo f0c68be03694

Add unittest to check if commiting the same change twice works

Authored by bruns on Nov 27 2018, 7:26 PM.

Description

Add unittest to check if commiting the same change twice works

Summary:
The fileindexer is only aware some terms/properties *may* have changed,
but may also submit a document again which is identical to the current
DB contents.
Ideally, the engine should catch these cases and remove any noops from
the transaction.

Test Plan: ctest

Reviewers: Baloo, Frameworks, ngraham, poboiko

Reviewed By: Baloo, ngraham

Subscribers: kde-frameworks-devel

Tags: Frameworks, Baloo

Differential Revision: https://phabricator.kde.org/D17199

Details

Committed
brunsDec 1 2018, 4:32 PM
Reviewer
Baloo
Differential Revision
D17199: Add unittest to check if commiting the same change twice works
Parents
R293:38925dd92f69: Add unit test for position DB
Branches
Unknown
Tags
Unknown