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

Dawid Weiss updated LUCENE-5916:
--------------------------------
    Attachment: LUCENE-5916.patch

Patch fixing FaultyIndexInput.

> Static scope test components should be consistent between tests (and test 
> iterations)
> -------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5916
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5916
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Minor
>             Fix For: 5.0, 4.11
>
>         Attachments: LUCENE-5916.patch
>
>
> An example of a thing breaking this rule is FaultyIndexInput -- its internal 
> 'count' field is incremented at the class level; if a test is reiterated, any 
> counter-based events will happen across the same test's reiterations (instead 
> of being consistent and local to a test).



--
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