[Xapian-tickets] [Xapian] #337: Extend test of behaviour of databases after close

Xapian nobody at xapian.org
Fri Apr 6 21:51:46 BST 2018


#337: Extend test of behaviour of databases after close
--------------------------+------------------------------
 Reporter:  richard       |             Owner:  gp1308
     Type:  defect        |            Status:  new
 Priority:  low           |         Milestone:  1.4.x
Component:  Test Suite    |           Version:  SVN trunk
 Severity:  normal        |        Resolution:
 Keywords:  GoodFirstBug  |        Blocked By:
 Blocking:                |  Operating System:  All
--------------------------+------------------------------

Comment (by gp1308):

 You are right, I got your point, thanks.

 >  If begin_transaction() succeeds, then commit_transaction() should
 either work or throw
    DatabaseError.

 Test steps:
 begin_transaction() -> add_document() -> close() ->  commit_transaction()

 local db throws DatabaseError, but remote db throws InvalidOperationError.
 Response is not consistent. How to go about this?

--
Ticket URL: <https://trac.xapian.org/ticket/337#comment:15>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list