Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13574

harden tests that fail (usually NPE) during After/AfterClas methods if there is an assumption violation in Before/BeforeClass methods

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      We have a bunch of tests that blindly try to call cleanup methods on objects w/o sanity checking if the object exists and the cleanup is actually neccessary – which may not be true, particularly there was an Assumption failure during a Before/BeforeClass method

      Attachments

        1. SOLR-13574.patch
          76 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: