db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r359953 - /db/jdo/trunk/tck20/test/java/org/apache/jdo/tck/api/persistencemanager/OptimisticFailure.java
Date Fri, 30 Dec 2005 01:11:18 GMT
Author: clr
Date: Thu Dec 29 17:11:17 2005
New Revision: 359953

URL: http://svn.apache.org/viewcvs?rev=359953&view=rev
Log:
JDO-72 re-enabled test that failed on JDO 1 RI but passes on JDO 2 RI

Modified:
    db/jdo/trunk/tck20/test/java/org/apache/jdo/tck/api/persistencemanager/OptimisticFailure.java

Modified: db/jdo/trunk/tck20/test/java/org/apache/jdo/tck/api/persistencemanager/OptimisticFailure.java
URL: http://svn.apache.org/viewcvs/db/jdo/trunk/tck20/test/java/org/apache/jdo/tck/api/persistencemanager/OptimisticFailure.java?rev=359953&r1=359952&r2=359953&view=diff
==============================================================================
--- db/jdo/trunk/tck20/test/java/org/apache/jdo/tck/api/persistencemanager/OptimisticFailure.java
(original)
+++ db/jdo/trunk/tck20/test/java/org/apache/jdo/tck/api/persistencemanager/OptimisticFailure.java
Thu Dec 29 17:11:17 2005
@@ -142,13 +142,13 @@
            VersionedPCPoint p4tx2 = (VersionedPCPoint)pm2.getObjectById(p4oid, true);
            VersionedPCPoint p5tx2 = (VersionedPCPoint)pm2.getObjectById(p5oid, true);
            p1tx2.setX(102);
-//           pm2.deletePersistent(p2tx2); // this should fail but succeeds due to an RI bug
+           pm2.deletePersistent(p2tx2);
            p3tx2.setX(202);
            pm2.deletePersistent(p4tx2);
-           p5tx2.setX(502); // this change should not be committed
+           p5tx2.setX(502); // this change must not be committed
            Set expectedFailedObjects = new HashSet();
            expectedFailedObjects.add(p1tx2);
-//           expectedFailedObjects.add(p2tx2);
+           expectedFailedObjects.add(p2tx2);
            expectedFailedObjects.add(p3tx2);
            expectedFailedObjects.add(p4tx2);
            



Mime
View raw message