Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5916

Static scope test components should be consistent between tests (and test iterations)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

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

        Attachments

        1. LUCENE-5916.patch
          5 kB
          Dawid Weiss
        2. LUCENE-5916.patch
          5 kB
          Erick Erickson

          Activity

            People

            • Assignee:
              dweiss Dawid Weiss
              Reporter:
              dweiss Dawid Weiss
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: