You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by to...@apache.org on 2015/01/12 13:26:18 UTC

svn commit: r1651071 - in /avro/trunk: CHANGES.txt lang/java/pom.xml

Author: tomwhite
Date: Mon Jan 12 12:26:17 2015
New Revision: 1651071

URL: http://svn.apache.org/r1651071
Log:
AVRO-1624. Java. Surefire forkMode is deprecated. Contributed by Niels Basjes.

Modified:
    avro/trunk/CHANGES.txt
    avro/trunk/lang/java/pom.xml

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1651071&r1=1651070&r2=1651071&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Mon Jan 12 12:26:17 2015
@@ -113,6 +113,9 @@ Trunk (not yet released)
 
     AVRO-1573. Javascript. Upgrade to Grunt 0.4 for testing. (tomwhite)
 
+    AVRO-1624. Java. Surefire forkMode is deprecated. (Niels Basjes via
+    tomwhite)
+
 Avro 1.7.7 (23 July 2014)
 
   NEW FEATURES

Modified: avro/trunk/lang/java/pom.xml
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/pom.xml?rev=1651071&r1=1651070&r2=1651071&view=diff
==============================================================================
--- avro/trunk/lang/java/pom.xml (original)
+++ avro/trunk/lang/java/pom.xml Mon Jan 12 12:26:17 2015
@@ -210,7 +210,8 @@
             </excludes>
             <enableAssertions>false</enableAssertions>
             <!-- some IPC tests hang if not run in a separate JVM -->
-            <forkMode>always</forkMode>
+            <forkCount>1</forkCount>
+            <reuseForks>false</reuseForks>
             <!-- TestSpecificCompiler instantiates a Java compiler to test output results,
                  this does not work with a manifest-only-jar to set the classpath for the javac.
                  This may cause problems on some platforms.
@@ -350,6 +351,7 @@
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-surefire-plugin</artifactId>
+            <version>${surefire-plugin.version}</version>
             <configuration>
               <includes>
                 <include>**/DataFileInteropTest*</include>
@@ -357,7 +359,8 @@
               <excludes>
               </excludes>
               <enableAssertions>false</enableAssertions>
-              <forkMode>once</forkMode>
+              <forkCount>1</forkCount>
+              <reuseForks>true</reuseForks>
               <redirectTestOutputToFile>false</redirectTestOutputToFile>
               <systemPropertyVariables>
                 <test.dir>../../../build/interop/data/</test.dir>