[Zodb-checkins] CVS: ZODB3/ZEO/tests - CommitLockTests.py:1.15.2.1

Jeremy Hylton cvs-admin at zope.org
Thu Nov 20 15:47:20 EST 2003


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv9825

Modified Files:
      Tag: ZODB3-mvcc-2-branch
	CommitLockTests.py 
Log Message:
Track remove of _serial.

The client now passes the id() of the transaction object.


=== ZODB3/ZEO/tests/CommitLockTests.py 1.15 => 1.15.2.1 ===
--- ZODB3/ZEO/tests/CommitLockTests.py:1.15	Thu Oct  2 14:17:21 2003
+++ ZODB3/ZEO/tests/CommitLockTests.py	Thu Nov 20 15:47:13 2003
@@ -71,7 +71,7 @@
         #     self.storage.tpc_vote(self.trans)
 
         rpc = self.storage._server.rpc
-        msgid = rpc._deferred_call('vote', self.storage._serial)
+        msgid = rpc._deferred_call('vote', id(self.trans))
         self.ready.set()
         rpc._deferred_wait(msgid)
         self.storage._check_serials()
@@ -149,7 +149,7 @@
     def _begin_undo(self, trans_id):
         rpc = self._storage._server.rpc
         return rpc._deferred_call('transactionalUndo', trans_id,
-                                  self._storage._serial)
+                                  id(self.trans))
 
     def _finish_undo(self, msgid):
         return self._storage._server.rpc._deferred_wait(msgid)




More information about the Zodb-checkins mailing list