From 7b94014ca435be86900ea58a63d3f2698c6dc801 Mon Sep 17 00:00:00 2001 From: Albert Lee Date: Fri, 13 Jan 2012 17:11:57 +0000 Subject: [PATCH] Replace hard-coded tck runtime timeout (7200000) to system property jpatck.run.tmo (default to 7200000). git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1231189 13f79535-47bb-0310-9956-ffa450edef68 --- openjpa-integration/tck/pom.xml | 17 +++++++++------- openjpa-integration/tck/tck2-20101205.xml | 24 ++++++++++++----------- 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/openjpa-integration/tck/pom.xml b/openjpa-integration/tck/pom.xml index 7f2d0f5d6..27a0d907a 100644 --- a/openjpa-integration/tck/pom.xml +++ b/openjpa-integration/tck/pom.xml @@ -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. --> - @@ -298,7 +301,7 @@ report.dir=${jpatck.reports.dir} jpa.classes=${cp.property} database.classes=${jpa.classes} # 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=${openjpa.properties} @@ -311,7 +314,7 @@ databaseName=${db.name} Update directory paths if running on Windows diff --git a/openjpa-integration/tck/tck2-20101205.xml b/openjpa-integration/tck/tck2-20101205.xml index c93b5d436..912a30be3 100644 --- a/openjpa-integration/tck/tck2-20101205.xml +++ b/openjpa-integration/tck/tck2-20101205.xml @@ -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. --> - @@ -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} Update directory paths if running on Windows @@ -209,8 +209,9 @@ databaseName=${db.name} + - + @@ -311,17 +312,18 @@ databaseName=${db.name} TCK initdb.xml returned result=${tsant.result} + Calling TCK build.xml for pkg.dir=${jpatck.pkg.dir} - + Calling TCK build.xml for ALL tests - + @@ -330,7 +332,7 @@ databaseName=${db.name} - +