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

Modify tests to run in random order

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jdasch Jeff Dasch
            jdasch Jeff Dasch

            Dates

              Created:
              Updated:

              Slack

                Issue deployment