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

[regression] TestNG suite no longer succeeds, with error "testSetStarting called twice"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.7.2
    • Component/s: TestNG support
    • Labels:
      None

      Description

      I'm receiving this error in 2.7.1:
      "Error while executing forked tests.; nested exception is java.lang.IllegalStateException: testSetStarting called twice"

      This did not occur with 2.5 on the same project. It is using TestNG with a suite XML and Cargo + Selenium

      You should be able to reproduce it by checking out http://svn.apache.org/repos/asf/archiva/trunk, changing the surefire version in the root POM, and running:
      mvn clean install
      cd archiva-modules/archiva-web/archiva-webapp-test
      mvn clean install

      I'll have to come back to investigate the cause later - the project is quite crusty and there may be some misconfiguration also.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                krosenvold Kristian Rosenvold
                Reporter:
                brettporter Brett Porter
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: