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
This commit is contained in:
Pinaki Poddar 2010-03-18 15:42:54 +00:00
parent 4f11cba18a
commit 081baaa856
1 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,8 @@ import javax.persistence.QueryTimeoutException;
import junit.framework.AssertionFailedError; 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.exception.PObject;
import org.apache.openjpa.persistence.test.SingleEMFTestCase; import org.apache.openjpa.persistence.test.SingleEMFTestCase;
import org.apache.openjpa.util.OpenJPAException; import org.apache.openjpa.util.OpenJPAException;
@ -39,6 +41,9 @@ public class TestTimeoutException extends SingleEMFTestCase {
private final Class<?> entityClass = PObject.class; private final Class<?> entityClass = PObject.class;
public void setUp() { public void setUp() {
setUnsupportedDatabases(OracleDictionary.class, DB2Dictionary.class);
if (isTestsDisabled())
return;
super.setUp(entityClass); super.setUp(entityClass);
} }