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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to