[jscover] 38/69: Make sure server has started in JAR tests

Sylvestre Ledru sylvestre at moszumanska.debian.org
Fri Aug 22 05:54:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

sylvestre pushed a commit to branch master
in repository jscover.

commit fee069a039bb8d0f3571236981e13a8b024fbb58
Author: tntim96 <tntim96 at gmail.com>
Date:   Wed Jul 2 21:16:38 2014 +1000

    Make sure server has started in JAR tests
---
 build.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/build.xml b/build.xml
index 6941321..25fe37d 100644
--- a/build.xml
+++ b/build.xml
@@ -267,6 +267,9 @@
         <java jar="${dist.dir}/${ant.project.name}.jar" fork="true" spawn="true">
             <arg line="-ws --port=9080"/>
         </java>
+        <waitfor maxwait="5" maxwaitunit="second" checkevery="100" checkeveryunit="millisecond" timeoutproperty="failed">
+            <http url="http://localhost:9080/jscoverage.html"/>
+        </waitfor>
         <get maxtime="2" src="http://localhost:9080/stop" dest="${build.dir}/stop.txt"/>
     </target>
 
@@ -274,6 +277,9 @@
         <java jar="${dist.dir}/${ant.project.name}-all.jar" fork="true" spawn="true">
             <arg line="-ws --port=9080"/>
         </java>
+        <waitfor maxwait="5" maxwaitunit="second" checkevery="100" checkeveryunit="millisecond" timeoutproperty="failed">
+            <http url="http://localhost:9080/jscoverage.html"/>
+        </waitfor>
         <get maxtime="2" src="http://localhost:9080/stop" dest="${build.dir}/stop.txt"/>
     </target>
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jscover.git



More information about the pkg-java-commits mailing list