You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2010/12/29 13:00:58 UTC

[jira] Commented: (SUREFIRE-679) [regression] TestNG suite no longer succeeds, with error "testSetStarting called twice"

    [ http://jira.codehaus.org/browse/SUREFIRE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249878#action_249878 ] 

Brett Porter commented on SUREFIRE-679:
---------------------------------------

I should point out that this was at a point in time where initializeArchiva(org.apache.archiva.web.test.ArchivaAdminTest) was failing (causing all other tests to be skipped). I'll re-verify whether 2.7.1 works once the test suite is passing correctly.

> [regression] TestNG suite no longer succeeds, with error "testSetStarting called twice"
> ---------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-679
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-679
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.7.1
>            Reporter: Brett Porter
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira