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

LuceneTestCase does not reset the original query cache

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1, 6.0
    • None
    • None
    • New

    Description

      LuceneTestCase overrides the default query cache so that every test runs with its own cache and is reproducible. But it does not reset the query cache when it is finished. As a consequence, any other suite running in the same runner and not inheriting LuceneTestCase will inherit a "dirty" query cache.

      Attachments

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: