Hi all,
My TestNG tests timeout on Hudson after an hour (default
testng timeout behavior?). Is there a way to increase this timeout limit?
I’ve done following in build.xml file but it didn’t change anything;
<!-- maximum total time
in milliseconds (3 hours) for all tests to run, over-writing default of 60
minutes -->
<property
name="testng.timeOut" value="10800000"/>
<target name="run-tests"
depends="test-compile, testng.xml.fileset.check"
unless="testng.xml.fileset.run">
<testng suitename="abc"… timeOut="${testng.timeOut}"
dumpCommand="true">
…
<echo message="From first run: unitTest.failure =
${unitTest.failure}" />
</target>