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 <jpou...@gmail.com> wrote:
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to