[ 
https://issues.apache.org/jira/browse/LUCENE-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Smiley updated LUCENE-4954:
---------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> 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: 4.8
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to