[seam-commits] Seam SVN: r13350 - branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Thu Jul 8 10:19:10 EDT 2010
Author: jharting
Date: 2010-07-08 10:19:10 -0400 (Thu, 08 Jul 2010)
New Revision: 13350
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/build.xml
Log:
Check if the server is actually started
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/build.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/build.xml 2010-07-08 14:18:14 UTC (rev 13349)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/build.xml 2010-07-08 14:19:10 UTC (rev 13350)
@@ -205,9 +205,14 @@
<jvmarg line="${jboss.jvm.arguments}" />
<arg line="-c ${jboss.domain} -b ${jboss.host}" />
</java>
- <waitfor maxwait="2" maxwaitunit="minute">
+ <waitfor maxwait="2" maxwaitunit="minute" timeoutproperty="timeout">
<socket server="localhost" port="8080" />
</waitfor>
+ <fail message="Server not started within 2 minutes.">
+ <condition>
+ <isset property="timeout" />
+ </condition>
+ </fail>
</target>
<target name="stop.container.jboss" if="run.container.per.suite">
More information about the seam-commits
mailing list