Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1122

When running failsafe with -Dfailsafe.rerunFailingTestsCount and parallel all, the reports are not generated correctly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Hi,
      I just tried the new feature -Dfailsafe.rerunFailingTestsCount on our failsafe build.
      Unfortunately, when running the build using parallel=all, it seems the junit xml files are not generated correctly.
      I've tried running it multiple different ways, including classedAndMethods, and all, but it seems to generate an incorrect xml file either way.
      I've attached both files here.

      I can provide a pom and java test case if required.

      Attachments

        1. invalid.xml
          9 kB
          Roy Arnon
        2. test.zip
          11 kB
          Roy Arnon
        3. valid.xml
          13 kB
          Roy Arnon

        Activity

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

          People

            agudian Andreas Gudian
            hellspam Roy Arnon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment