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
-
Complexity:Intermediate
-
Number of attachments :
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.
Issue Links
- relates to
-
SUREFIRE-680
Printout Running TestSuite twice times
-
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.