mirror of https://github.com/apache/openjpa.git
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:
parent
4f11cba18a
commit
081baaa856
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue