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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • 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
          Erick Erickson
        2. LUCENE-5916.patch
          5 kB
          Dawid Weiss

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: