Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12801 Fix the tests, remove BadApples and AwaitsFix annotations, improve env for test development.
  3. SOLR-13212

when TestInjection.nonGracefullClose causes a TestShutdownFailError, test is garunteed tofail due to leaked objects (causes failures in (Hdfs)RestartWhileUpdatingTest)

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      While investigating suite level test failures in RestartWhileUpdatingTest (and it's subclass HdfsRestartWhileUpdatingTest) due to leaked objects i realized that this happens anytime TestInjection.injectNonGracefullClose causes a TestShutdownFailError to be thrown.

      The test will still be able to restart the node, and the test (method) will succeed, but the suite will fail due to the leaked objects.

      NOTE: These are currently the only tests using TestInjection.nonGracefullClose.

        Attachments

        1. SOLR-13212.patch
          6 kB
          Chris M. Hostetter

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hossman Chris M. Hostetter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: