From 4726814c82053ed61b2a07215fe611ae8cbce535 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Thu, 11 Apr 2013 13:43:24 +0000 Subject: [PATCH] disable random exceptions on open where we open a reader and do checks (it will be reset next time thru the loop) git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466888 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/org/apache/lucene/index/TestIndexWriterOnDiskFull.java | 1 + 1 file changed, 1 insertion(+) diff --git a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterOnDiskFull.java b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterOnDiskFull.java index 681c9d0fa6a..63d3b7af0ae 100644 --- a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterOnDiskFull.java +++ b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterOnDiskFull.java @@ -365,6 +365,7 @@ public class TestIndexWriterOnDiskFull extends LuceneTestCase { // we succeeded, we see all docs added, and if we // failed, we see either all docs or no docs added // (transactional semantics): + dir.setRandomIOExceptionRateOnOpen(0.0); try { reader = DirectoryReader.open(dir); } catch (IOException e) {