On 15/9/2010 11:06 PM, Kostka Bořivoj wrote: > I don't think so. Test is commented as test for LUCENE-1270 issue, which is > not related to any exceptions thrown from > directory. No idea, why MockRAMDirectory is used in test, perhaps because it > contains some additional checks. > > In Java version of MockRAMDirectory random exceptions are not thrown by > default (because randomIOExceptionRate > is set to 0 by Java automatically (0 means no random exception). > > Perhaps the 100% correct way will be to add randomIOExceptionRate = 0. into > MockRAMDirectory constructor, so > setRandomIOExceptionRate(0.0, 0) call used in test won't be needed. > > Borek
Sounds good. Itamar. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ CLucene-developers mailing list CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers