From 081baaa8568eb6a3514bcb7fbc87cab21be5be23 Mon Sep 17 00:00:00 2001 From: Pinaki Poddar Date: Thu, 18 Mar 2010 15:42:54 +0000 Subject: [PATCH] Disable timeout tests on Oracle and DB2 till we know the reason git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924867 13f79535-47bb-0310-9956-ffa450edef68 --- .../openjpa/persistence/query/TestTimeoutException.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestTimeoutException.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestTimeoutException.java index 1c7fe0844..79762db9c 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestTimeoutException.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestTimeoutException.java @@ -25,6 +25,8 @@ import javax.persistence.QueryTimeoutException; import junit.framework.AssertionFailedError; +import org.apache.openjpa.jdbc.sql.DB2Dictionary; +import org.apache.openjpa.jdbc.sql.OracleDictionary; import org.apache.openjpa.persistence.exception.PObject; import org.apache.openjpa.persistence.test.SingleEMFTestCase; import org.apache.openjpa.util.OpenJPAException; @@ -39,6 +41,9 @@ public class TestTimeoutException extends SingleEMFTestCase { private final Class entityClass = PObject.class; public void setUp() { + setUnsupportedDatabases(OracleDictionary.class, DB2Dictionary.class); + if (isTestsDisabled()) + return; super.setUp(entityClass); }