|
From: Adrian B. <ej...@us...> - 2004-12-22 18:46:07
|
User: ejort Date: 04/12/22 10:46:01 Modified: . Tag: Branch_3_2 build.xml Log: Actually test the failure to lookup the tomcat url. Revision Changes Path No revision No revision 1.165.2.176 +5 -1 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.165.2.175 retrieving revision 1.165.2.176 diff -u -r1.165.2.175 -r1.165.2.176 --- build.xml 22 Dec 2004 17:46:43 -0000 1.165.2.175 +++ build.xml 22 Dec 2004 18:45:58 -0000 1.165.2.176 @@ -6,7 +6,7 @@ <!-- See terms of license at http://www.gnu.org. --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.165.2.175 2004/12/22 17:46:43 ejort Exp $ --> +<!-- $Id: build.xml,v 1.165.2.176 2004/12/22 18:45:58 ejort Exp $ --> <project default="main" name="JBoss/Testsuite"> <import file="../tools/etc/buildmagic/build-common.xml"/> @@ -798,19 +798,23 @@ <create-all-cluster-node conf="binding-manager1" ports="ports-01"/> <create-all-cluster-node conf="binding-manager2" ports="ports-02"/> <start-jboss conf="binding-manager1"/> + <echo>Waiting for http://localhost:8180</echo> <waitfor maxwait="300" maxwaitunit="second" checkevery="5" checkeveryunit="second" timeoutproperty="cluster.timeout"> <and> <http url="http://localhost:8180"/> </and> </waitfor> + <fail message="Timeout waiting for binding-manager1 to start" if="cluster.timeout"/> <start-jboss conf="binding-manager2"/> + <echo>Waiting for http://localhost:8280</echo> <waitfor maxwait="300" maxwaitunit="second" checkevery="5" checkeveryunit="second" timeoutproperty="cluster.timeout"> <and> <http url="http://localhost:8280"/> </and> </waitfor> + <fail message="Timeout waiting for binding-manager2 to start" if="cluster.timeout"/> <stop-jboss url="jnp://localhost:1299"/> <stop-jboss url="jnp://localhost:1199"/> </target> |