[Xapian-tickets] [Xapian] #320: replicationtest.py fails most of the time

Xapian nobody at xapian.org
Tue Jan 6 12:08:52 GMT 2009


#320: replicationtest.py fails most of the time
-----------------------------+----------------------------------------------
 Reporter:  olly             |        Owner:  richard  
     Type:  defect           |       Status:  assigned 
 Priority:  normal           |    Milestone:  1.1.0    
Component:  Xapian-bindings  |      Version:  SVN trunk
 Severity:  normal           |   Resolution:           
 Keywords:                   |    Blockedby:           
 Platform:  All              |     Blocking:           
-----------------------------+----------------------------------------------
Changes (by richard):

  * status:  new => assigned


Comment:

 I probably shouldn't have enabled the test by default, sorry.

 The test is sensitive to timing issues - which is hard to avoid since its
 a test of concurrency.  However, the bit which is failing can be fixed -
 I'll change it to check for equality every second or so, and only fail if
 the value is still unequal after a long period of time (say, 10 seconds).
 I believe it is failing because the replication client hasn't yet finished
 replicating the changed database.

 The port issue is as you describe - I'll need to resolve that before we
 re-enable the test by default, too.

-- 
Ticket URL: <http://trac.xapian.org/ticket/320#comment:2>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list