On Thu, May 16, 2013 at 11:30 AM, Shai Erera <[email protected]> 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

Attachment: testImmediateDiskFull.patch
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to