Author: jharting
Date: 2010-07-08 10:17:30 -0400 (Thu, 08 Jul 2010)
New Revision: 13348
Modified:
branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/build.xml
Log:
Check if the server is actually started
Modified: branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/build.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/build.xml 2010-07-08 02:52:40
UTC (rev 13347)
+++ branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/build.xml 2010-07-08 14:17:30
UTC (rev 13348)
@@ -261,9 +261,14 @@
<jvmarg line="${container.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"
depends="container.properties" >
Show replies by date