[Xapian-tickets] [Xapian] #783: Remote protocol breaks
Xapian
nobody at xapian.org
Mon May 13 09:07:01 BST 2019
#783: Remote protocol breaks
----------------------------+-------------------------
Reporter: Kronuz | Owner: olly
Type: defect | Status: new
Priority: highest | Milestone:
Component: Backend-Remote | Version:
Severity: blocker | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
----------------------------+-------------------------
Comment (by olly):
We can regression test some of these easily, e.g.:
{{{#!cpp
Xapian::Document doc;
doc.add_term(string(300, 'x'));
TEST_EXCEPTION(Xapian::InvalidArgumentError,
db.replace_document(1, doc));
}}}
And similarly for `MSG_REPLACEDOCUMENTTERM`.
I don't see any easy way to trigger an exception during automated testing
for the others though.
--
Ticket URL: <https://trac.xapian.org/ticket/783#comment:2>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list