[Xapian-tickets] [Xapian] #758: Test behaviour on remote backend errors

Xapian nobody at xapian.org
Thu Apr 12 06:47:40 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      |   Keywords:
      Blocked By:              |   Blocking:
Operating System:  All         |
-------------------------------+------------------------
 We have very little coverage of handling of database errors.

 Mostly this is because it is tricky for the test harness to arrange for
 them to happen, but for the remote backend we could add a way to tell the
 harness to kill the server corresponding to a particular database it
 provided, and at least test cases where the remote backend loses its
 connection.

 As gp1308 pointed out in #337, the testcases would be fairly similar to
 those in `api_closedb.cc` which test behaviour after an explicit call to
 `close()` on a database.

--
Ticket URL: <https://trac.xapian.org/ticket/758>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list