aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-11-07 15:26:25 +0100
committerGitHub <noreply@github.com>2023-11-07 15:26:25 +0100
commita97d4cfc1aff31ef6775da3d8669a8ad0b3d527c (patch)
tree3abf4548584595881ddb517513dbdabaa2f7da47 /searchcore/src/tests
parentcf44053dcc0c219962ffcd982a16d66aef583ed1 (diff)
parent9422fa1d423f3d1ae79bf50b4d750fcaf4a14c10 (diff)
Merge pull request #29264 from vespa-engine/toregge/extend-persistence-conformance-test-wrt-remove-by-gid
Test remove by gid for nonexisting gid and for gid with tombstone.
Diffstat (limited to 'searchcore/src/tests')
-rw-r--r--searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp b/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
index f783a415eed..20a6ac40de4 100644
--- a/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/feedhandler/feedhandler_test.cpp
@@ -237,6 +237,9 @@ struct MyFeedView : public test::DummyFeedView {
++update_count;
update_serial = op.getSerialNum();
}
+ void prepareRemove(RemoveOperation &op) override {
+ op.setDbDocumentId(1); // Set a "valid" lid for tombstone
+ }
void handleRemove(FeedToken token, const RemoveOperation &) override {
(void) token;
++remove_count;