You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:47:18 UTC

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

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