You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2014/09/01 14:58:20 UTC

[jira] [Created] (LUCENE-5916) Static scope test components should be consistent between tests (and test iterations)

Dawid Weiss created LUCENE-5916:
-----------------------------------

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


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