[jboss-cvs] JBossAS SVN: r77211 - projects/cluster/hibernate-jbc-cacheprovider/trunk.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Aug 19 23:41:31 EDT 2008


Author: bstansberry at jboss.com
Date: 2008-08-19 23:41:31 -0400 (Tue, 19 Aug 2008)
New Revision: 77211

Modified:
   projects/cluster/hibernate-jbc-cacheprovider/trunk/pom.xml
Log:
[JBCLUSTER-206] Add some surefire plugin configs

Modified: projects/cluster/hibernate-jbc-cacheprovider/trunk/pom.xml
===================================================================
--- projects/cluster/hibernate-jbc-cacheprovider/trunk/pom.xml	2008-08-20 03:37:02 UTC (rev 77210)
+++ projects/cluster/hibernate-jbc-cacheprovider/trunk/pom.xml	2008-08-20 03:41:31 UTC (rev 77211)
@@ -75,7 +75,53 @@
             appropriate location. -->
           <tagBase>https://svn.jboss.org/repos/jbossas/projects/cluster/hibernate-jbc-cacheprovider/tags</tagBase>
         </configuration>
-      </plugin>     
+      </plugin>   
+      <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <configuration>
+              <systemProperties>
+                  <property>
+                      <name>jgroups.bind_addr</name>
+                      <value>${jgroups.bind_addr}</value>
+                  </property>
+                  <!-- There are problems with multicast and IPv6 on some
+                       OS/JDK combos, so we tell Java to use IPv4. If you
+                       have problems with multicast when running the tests
+                       you can try setting this to 'false', although typically
+                       that won't be helpful.
+                  -->
+                  <property>
+                      <name>java.net.preferIPv4Stack</name>
+                      <value>true</value>
+                  </property>
+                  <!-- Tell JGroups to only wait a short time for PING 
+                       responses before determining coordinator. Speeds cluster
+                       formation during integration tests. (This is too
+                       low a value for a real system; only use for tests.)
+                  -->
+                  <property>
+                      <name>jgroups.ping.timeout</name>
+                      <value>500</value>
+                  </property>
+                  <!-- Tell JGroups to only require one PING response
+                       before determining coordinator. Speeds cluster
+                       formation during integration tests. (This is too
+                       low a value for a real system; only use for tests.)
+                  -->
+                  <property>
+                      <name>jgroups.ping.num_initial_members</name>
+                      <value>1</value>
+                  </property>
+                  <!-- Disable the JGroups message bundling feature
+                       to speed tests and avoid FLUSH issue -->
+                  <property>
+                      <name>jgroups.udp.enable_bundling</name>
+                      <value>false</value>
+                  </property>
+              </systemProperties>
+          </configuration>
+      </plugin>  
     </plugins>
   </build>  
   




More information about the jboss-cvs-commits mailing list