lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-5916) Static scope test components should be consistent between tests (and test iterations)
Date Mon, 01 Sep 2014 12:59:20 GMT

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


Mime
View raw message