You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ha...@apache.org on 2005/11/29 19:57:35 UTC
svn commit: r349792 - /webservices/axis/trunk/c/build/executeTest.xml
Author: hawkeye
Date: Tue Nov 29 10:57:14 2005
New Revision: 349792
URL: http://svn.apache.org/viewcvs?rev=349792&view=rev
Log:
Allow tests to have a configurable timeout. i changed this because we've just added in a very very long running test - CalculatorDocMany which needs *way* more than the two minutes we gave it before.
Modified:
webservices/axis/trunk/c/build/executeTest.xml
Modified: webservices/axis/trunk/c/build/executeTest.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/build/executeTest.xml?rev=349792&r1=349791&r2=349792&view=diff
==============================================================================
--- webservices/axis/trunk/c/build/executeTest.xml (original)
+++ webservices/axis/trunk/c/build/executeTest.xml Tue Nov 29 10:57:14 2005
@@ -246,10 +246,18 @@
<echo message="Running Test ${test.name} ${clientArgs}" />
<!-- Run the client test -->
<stopwatch name="${test.name}.timer" action="start" />
+ <if>
+ <not>
+ <isset property="test.timeout"/>
+ </not>
+ <then>
+ <property name="test.timeout" value="120000"/>
+ </then>
+ </if>
<exec dir="${test.directory}"
executable="${test.directory}/${test.name}"
output="${results.stdout}" error="${results.stderr}"
- failifexecutionfails="false" timeout="120000">
+ failifexecutionfails="false" timeout="${test.timeout}">
<arg line="${clientArgs}" />
<env key="PATH"
path="${java.library.path}${path.separator}${dir.libraries}${path.separator}${dir.xmlParser}${path.separator}${HTTP.SSLChannel.eay.dir}${path.separator}${test.directory}" />