On Thu, May 16, 2013 at 11:30 AM, Shai Erera <ser...@gmail.com> wrote: > As long as bytes are buffered, I think it's OK to not hit disk-full... they > never made it to the directory yet.
Good point. So the test needs to call commit right after IndexWriter.add(Document) to make sure flush gets called, and MockDirectoryWrapper.flush needs to check disk full right after delegate.flush? -- Adrien
testImmediateDiskFull.patch
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org