Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2781

Unit tests should reuse forks by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.6.0
    • None
    • build
    • None

    Description

      The default value for maven-surefire-plugin's reuseForks is true. This is set to false in our pom.xml in order to keep ITs independent. This inadvertently affects unit tests also, and causes unit tests to create a new JVM for each test class.

      These should be separated, and the default for unit tests (maven-surefire-plugin's execution) should be reuseForks=true, and the default for ITs (maven-failsafe-plugin's execution) should be reuseForks=false (as it is now).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ctubbsii Christopher Tubbs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: