changeset 2456:8c3134195c82

Don't use forkMode=always in unit tests. Reviewed-by: jerboaa Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2016-September/020925.html
author Jie Kang <jkang@redhat.com>
date Fri, 16 Sep 2016 12:23:31 -0400
parents 998669414ab4
children b31a0e847618
files client/swing/pom.xml common/core/pom.xml
diffstat 2 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/client/swing/pom.xml	Wed Sep 14 15:05:13 2016 +0200
+++ b/client/swing/pom.xml	Fri Sep 16 12:23:31 2016 -0400
@@ -150,15 +150,6 @@
     </resources>
 
     <plugins>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <forkMode>always</forkMode>
-        </configuration>
-      </plugin>
-
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
--- a/common/core/pom.xml	Wed Sep 14 15:05:13 2016 +0200
+++ b/common/core/pom.xml	Fri Sep 16 12:23:31 2016 -0400
@@ -111,7 +111,6 @@
             </goals>
             <configuration>
               <argLine>${surefire-argline} ${coverageAgent} -Dfile.encoding=UTF-8</argLine>
-              <forkMode>always</forkMode>
             </configuration>
           </execution>
           <!-- run tests with US-ASCII encoding. See UsAsciiCharsetAsDefault -->
@@ -122,7 +121,6 @@
               <goal>test</goal>
             </goals>
             <configuration>
-              <forkMode>always</forkMode>
               <argLine>${surefire-argline} ${coverageAgent} -Dfile.encoding=US-ASCII</argLine>
               <groups>com.redhat.thermostat.testutils.UsAsciiCharsetAsDefault</groups>
             </configuration>