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) {