[Xapian-tickets] [Xapian] #758: Test behaviour on remote backend errors
Xapian
nobody at xapian.org
Thu Apr 19 21:12:02 BST 2018
#758: Test behaviour on remote backend errors
--------------------------+-------------------------------
Reporter: olly | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: git master
Severity: normal | Resolution:
Keywords: GoodFirstBug | Blocked By:
Blocking: | Operating System: All
--------------------------+-------------------------------
Comment (by gp1308):
Comment from olly in #337:
>Handling this is probably actually simpler for the remote database case -
at least in >the TCP case that already knows which fds are in use for
remote databases (see the >"pid_to_fd" array in xapian-
core/tests/harness/backendmanager_remotetcp.cc).
Initially, I thought pid_to_fd will contain the pid of the server for the
entire duration of test run, but later found out it gets cleaned up once
child signals the parent.
I am thinking to add a member to `BackendManagerRemote` class to store the
`pid` of the remote server. It can be used later by the `kill()` method.
Where should these tests go(api_closedb.cc or other)?
--
Ticket URL: <https://trac.xapian.org/ticket/758#comment:2>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list