You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/02/13 08:05:41 UTC

[jira] [Commented] (SUREFIRE-1332) SurefireLauncher duplicates functions and breaks build with Maven 3.5.0

    [ https://issues.apache.org/jira/browse/SUREFIRE-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863308#comment-15863308 ] 

Hudson commented on SUREFIRE-1332:
----------------------------------

SUCCESS: Integrated in Jenkins build maven-surefire #1672 (See [https://builds.apache.org/job/maven-surefire/1672/])
[SUREFIRE-1332] SurefireLauncher duplicates functions and breaks build (tibor17: [http://git-wip-us.apache.org/repos/asf/?p=maven-surefire.git&a=commit&h=2360dacc974c112a3ca14d7a27535c6241275357])
* (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/CrashDetectionIT.java
* (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire839TestWithoutCategoriesIT.java
* (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire946KillMainProcessInReusableForkIT.java
* (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/fixture/SurefireLauncher.java
* (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkModeIT.java
* (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire907PerThreadWithoutThreadCountIT.java
* (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1295AttributeJvmCrashesToTestsIT.java


> SurefireLauncher duplicates functions and breaks build with Maven 3.5.0
> -----------------------------------------------------------------------
>
>                 Key: SUREFIRE-1332
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1332
>             Project: Maven Surefire
>          Issue Type: Test
>            Reporter: Tibor Digana
>            Assignee: Tibor Digana
>             Fix For: 2.19.2
>
>
> https://github.com/apache/maven-surefire/blob/master/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/fixture/SurefireLauncher.java
> 1.  the reuseForks method adds a new system property argument each time it’s called:  -DreuseForks=<setting>
> 2.  the forkPerThread method calls forkMode( "perthread" ).reuseForks( false )
> 3.  the forkOncePerThread calls forkPerThread().reuseForks( true ) 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)