You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2013/04/24 16:31:16 UTC

[jira] [Created] (LUCENE-4954) LuceneTestFramework fails to catch temporary FieldCache insanity

Michael McCandless created LUCENE-4954:
------------------------------------------

             Summary: LuceneTestFramework fails to catch temporary FieldCache insanity
                 Key: LUCENE-4954
                 URL: https://issues.apache.org/jira/browse/LUCENE-4954
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Michael McCandless
             Fix For: 5.0, 4.4


Ever since we added readerClosedListeners to evict FieldCache entries, LTC will no longer detect insanity as long as the test closes all readers leading to insanity ...

So this has weakened our testing of catching accidental insanity producing code.

To fix this I think we could tap into FieldCacheImpl.setInfoStream ... and ensure the test didn't print anything to it.

This was a spinoff from LUCENE-4953, where that test (AllGroupHeadsCollectorTest) is always producing insanity, but then because of a bug the FC eviction wasn't working right, and LTC then detected the insanity.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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