aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSabine Heider2013-03-19 06:44:08 (EDT)
committertware2013-03-19 13:52:10 (EDT)
commit374db2a5084a12fec8617dfdb1119aa8a580e3ac (patch)
treec70a23127de05152e4779c1d2c4b192b565ee28b
parent76f7daceb5f4663178da4539d6cd95bb2b70e16f (diff)
downloadeclipselink.runtime-374db2a5084a12fec8617dfdb1119aa8a580e3ac.zip
eclipselink.runtime-374db2a5084a12fec8617dfdb1119aa8a580e3ac.tar.gz
eclipselink.runtime-374db2a5084a12fec8617dfdb1119aa8a580e3ac.tar.bz2
Skip UnitOfWorkConcurrentRevertTest on SAP HANA database
The test causes a deadlock in the SAP HANA JDBC driver and is therefore skipped. See bug 403748 . Signed-off-by: Sabine Heider <sabine.heider@sap.com>
-rw-r--r--foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/unitofwork/UnitOfWorkConcurrentRevertTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/unitofwork/UnitOfWorkConcurrentRevertTest.java b/foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/unitofwork/UnitOfWorkConcurrentRevertTest.java
index 8a0cb08..b3355a9 100644
--- a/foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/unitofwork/UnitOfWorkConcurrentRevertTest.java
+++ b/foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/unitofwork/UnitOfWorkConcurrentRevertTest.java
@@ -16,6 +16,7 @@ import java.util.ConcurrentModificationException;
import org.eclipse.persistence.sessions.UnitOfWork;
import org.eclipse.persistence.testing.framework.TestErrorException;
+import org.eclipse.persistence.testing.framework.TestWarningException;
import org.eclipse.persistence.testing.models.employee.domain.Employee;
import org.eclipse.persistence.testing.models.employee.domain.PhoneNumber;
@@ -37,6 +38,10 @@ public class UnitOfWorkConcurrentRevertTest extends org.eclipse.persistence.test
}
public void setup() {
+ if (getSession().getPlatform().isHANA()) {
+ // bug 403748
+ throw new TestWarningException("This test is not supported on the HANA platform.");
+ }
getAbstractSession().beginTransaction();
}