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

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Dec 13 20:36:18 EST 2010


Author: alex.guizar at jboss.com
Date: 2010-12-13 20:36:17 -0500 (Mon, 13 Dec 2010)
New Revision: 6865

Modified:
   jbpm3/branches/jbpm-3.2-soa/ci/container.sh
Log:
pass connect-timeout option to curl in container script to avoid hang when server http port is already bound

Modified: jbpm3/branches/jbpm-3.2-soa/ci/container.sh
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/ci/container.sh	2010-12-14 01:31:35 UTC (rev 6864)
+++ jbpm3/branches/jbpm-3.2-soa/ci/container.sh	2010-12-14 01:36:17 UTC (rev 6865)
@@ -188,7 +188,7 @@
 
 # Was it successfully started?
 for (( TRY=1 ; ; TRY++ )); do
-  curl --head --fail http://$MYTESTIP_1:8080/jbpm-console
+  curl --head --connect-timeout 5 --fail http://$MYTESTIP_1:8080/jbpm-console
   if [ $? -eq 0 ]; then
     break
   elif [ $TRY -lt 5 ]; then
@@ -206,4 +206,3 @@
 
 # Stop JBoss AS
 $JBOSS_HOME/bin/shutdown.sh -s jnp://$MYTESTIP_1:1099 -S
-



More information about the jbpm-commits mailing list