[ 
https://issues.apache.org/jira/browse/LUCENE-6406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14483564#comment-14483564
 ] 

ASF subversion and git services commented on LUCENE-6406:
---------------------------------------------------------

Commit 1671892 from [~jpountz] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1671892 ]

LUCENE-6406: Reset the query cache to its original value after a LuceneTestCase 
terminates.

> LuceneTestCase does not reset the original query cache
> ------------------------------------------------------
>
>                 Key: LUCENE-6406
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6406
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>             Fix For: Trunk, 5.1
>
>
> LuceneTestCase overrides the default query cache so that every test runs with 
> its own cache and is reproducible. But it does not reset the query cache when 
> it is finished. As a consequence, any other suite running in the same runner 
> and not inheriting LuceneTestCase will inherit a "dirty" query cache.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to