openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r777558 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerLockException.java
Date Fri, 22 May 2009 15:02:43 GMT
Author: allee8285
Date: Fri May 22 15:02:43 2009
New Revision: 777558

URL: http://svn.apache.org/viewvc?rev=777558&view=rev
Log:
OPENJPA-891 - Eliminate tests of compatible lock mode type.

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerLockException.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerLockException.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerLockException.java?rev=777558&r1=777557&r2=777558&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerLockException.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerLockException.java
Fri May 22 15:02:43 2009
@@ -260,14 +260,14 @@
             LockModeType.READ, false);
         commonLockOptimisticLockExceptions(
             LockModeType.WRITE, false);
-        commonLockOptimisticLockExceptions(
-            LockModeType.OPTIMISTIC, false);
-        commonLockOptimisticLockExceptions(
-            LockModeType.OPTIMISTIC_FORCE_INCREMENT, false);
+//        commonLockOptimisticLockExceptions(
+//            LockModeType.OPTIMISTIC, false);
+//        commonLockOptimisticLockExceptions(
+//            LockModeType.OPTIMISTIC_FORCE_INCREMENT, false);
         commonLockOptimisticLockExceptions(
             LockModeType.PESSIMISTIC_READ, true);
-        commonLockOptimisticLockExceptions(
-            LockModeType.PESSIMISTIC_WRITE, true);
+//        commonLockOptimisticLockExceptions(
+//            LockModeType.PESSIMISTIC_WRITE, true);
         commonLockOptimisticLockExceptions(
             LockModeType.PESSIMISTIC_FORCE_INCREMENT, true);
     }



Mime
View raw message