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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.1
    • 2.7.2
    • TestNG support
    • 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

              krosenvold Kristian Rosenvold
              brett Brett Porter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: