Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-399

Modify tests to run in random order

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • build
    • None

    Description

      By default the maven-surefire-plugin uses -Dsurefire.runOrder=filesystem. If tests are not completely isolated, this can result in host-specific test failures depending on how a host sorts the test.

      Recommend changing the runOrder to random, or at a minimum, hourly. This will help improve the robustness of tests in the long term and the expense of random test failures in the near term.

      Reference: http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#runOrder

      Attachments

        Issue Links

          Activity

            People

              jdasch Jeff Dasch
              jdasch Jeff Dasch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: