maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qingzhou Luo (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-1080) Use parallel and fork together run some tests multiple times
Date Thu, 05 Jun 2014 23:31:10 GMT

    [ https://jira.codehaus.org/browse/SUREFIRE-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=347588#comment-347588
] 

Qingzhou Luo commented on SUREFIRE-1080:
----------------------------------------

I should state that I built maven surefire on my own machine, so the version is 2.18-SNAPSHOT.
If you didn't do that you can change it to 2.17 in the pom.xml and it would still reproduce
the problem.

> Use parallel and fork together run some tests multiple times
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-1080
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-1080
>             Project: Maven Surefire
>          Issue Type: Bug
>         Environment: Apache Maven 3.2.2-SNAPSHOT
> Surefire 2.18-SNAPSHOT
> JUnit 4.11
>            Reporter: Qingzhou Luo
>         Attachments: test.tgz
>
>
> There are 9 tests in total in the attached project, and mvn test will show 9 tests run.
When I use the command " mvn test  -Dparallel=classes -DforkCount=2   -DuseUnlimitedThreads=true",
it shows 13 tests run (and sometimes 16), and some tests are run more than once.
> If I remove forkCount, or parallel, everything will be fine. But it is problematic when
combining together.
> Apache Maven 3.2.2-SNAPSHOT
> Surefire 2.18-SNAPSHOT
> JUnit 4.11
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message