Increase TCK run time limit for slower system.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Albert Lee 2012-01-11 16:40:57 +00:00
parent 2846f873c2
commit 162e98d5b3

View File

@ -7,15 +7,15 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
under the License.
-->
<!--
@ -38,8 +38,8 @@
Other options are documented in the Maven pom.xml which calls this script.
-->
<!--
Please keep the project tag on one line to avoid confusing
<!--
Please keep the project tag on one line to avoid confusing
the release plugin.
-->
<project name="JPA2TCK" default="run-tck">
@ -142,7 +142,7 @@ database.classes=
openjpa.properties=${openjpa.properties}
toplink.properties=${toplink.properties}
# Need to specify java.* classes, both in Windows/UNIX locations as well as Mac.
# This includes a few different possible locations; only one of them needs to
# This includes a few different possible locations; only one of them needs to
# actually work for a given environment.
sigTestClasspath=${JAVA_HOME}/lib/rt.jar${path.separator}${JAVA_HOME}/jre/lib/rt.jar${path.separator}${JAVA_HOME}/../Classes/classes.jar${path.separator}$${jpa.classes}
persistence.unit.properties.file.full.path=${provider.properties}
@ -155,7 +155,7 @@ databaseName=${db.name}
</echo>
<!-- convert backslashes and known paths with spaces
to get around a problem with the TCK testrunner
to get around a problem with the TCK testrunner
on windows -->
<echo>Update directory paths if running on Windows</echo>
<replace summary="yes" file="${jpatck.config}.tmp" replacefilterfile="windows-replacefilter.properties" />
@ -210,7 +210,7 @@ databaseName=${db.name}
<attribute name="buildfile" />
<attribute name="target" />
<sequential>
<java classname="org.apache.tools.ant.launch.Launcher" fork="true" failonerror="false" dir="@{dir}" append="true" output="${tck.log}" timeout="7200000" resultproperty="tsant.result">
<java classname="org.apache.tools.ant.launch.Launcher" fork="true" failonerror="false" dir="@{dir}" append="true" output="${tck.log}" timeout="14400000" resultproperty="tsant.result">
<arg value="-emacs" />
<arg value="-buildfile" />
<arg value="@{buildfile}" />
@ -330,7 +330,7 @@ databaseName=${db.name}
<!-- archive the results and check for test failures -->
<antcall target="zip-artifacts">
<param name="results.name" value="tck" />
</antcall>
</antcall>
</target>