[jbpm-commits] JBoss JBPM SVN: r6863 - jbpm3/branches/jbpm-3.2-soa/ci.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Dec 10 15:07:25 EST 2010


Author: alex.guizar at jboss.com
Date: 2010-12-10 15:07:24 -0500 (Fri, 10 Dec 2010)
New Revision: 6863

Modified:
   jbpm3/branches/jbpm-3.2-soa/ci/container.sh
Log:
read jboss run configuration from container shell script to avoid OOMEs during integration test

Modified: jbpm3/branches/jbpm-3.2-soa/ci/container.sh
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/ci/container.sh	2010-12-07 03:15:04 UTC (rev 6862)
+++ jbpm3/branches/jbpm-3.2-soa/ci/container.sh	2010-12-10 20:07:24 UTC (rev 6863)
@@ -146,6 +146,14 @@
 
 # BEGIN section taken from run.sh
 
+# Read an optional running configuration file
+if [ -z "$RUN_CONF" ]; then
+  RUN_CONF="$JBOSS_HOME/bin/run.conf"
+fi
+if [ -r "$RUN_CONF" ]; then
+  . "$RUN_CONF"
+fi
+
 # Force IPv4 on Linux systems since IPv6 doesn't work correctly with jdk5 and lower
 JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
 
@@ -194,7 +202,8 @@
 
 # Run enterprise test suite
 mvn -f enterprise/pom.xml -s $MAVEN_SETTINGS -Djboss.bind.address=$MYTESTIP_1 \
-  -Dsurefire.jvm.args=-Xmx256m integration-test | tee $WORKSPACE/tests.log
+  integration-test | tee $WORKSPACE/tests.log
 
 # Stop JBoss AS
 $JBOSS_HOME/bin/shutdown.sh -s jnp://$MYTESTIP_1:1099 -S
+



More information about the jbpm-commits mailing list