I dont get it. MDW wraps its IndexOutput so it "knows"... sounds like
the counting is off.

On Thu, May 16, 2013 at 6:24 AM, Adrien Grand <[email protected]> wrote:
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

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

Reply via email to