[Zodb-checkins] CVS: ZODB3/ZODB/tests - StorageTestBase.py:1.17.32.2

Jeremy Hylton jeremy@zope.com
Fri, 15 Nov 2002 10:47:26 -0500


Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv24261

Modified Files:
      Tag: ZODB3-restore-debug-branch
	StorageTestBase.py 
Log Message:
Add notes for commit and abort


=== ZODB3/ZODB/tests/StorageTestBase.py 1.17.32.1 => 1.17.32.2 ===
--- ZODB3/ZODB/tests/StorageTestBase.py:1.17.32.1	Fri Nov 15 10:44:12 2002
+++ ZODB3/ZODB/tests/StorageTestBase.py	Fri Nov 15 10:47:26 2002
@@ -199,6 +199,7 @@
 
     def _commitVersion(self, src, dst):
         t = Transaction()
+        t.note("commit %r to %r" % (src, dst))
         self._storage.tpc_begin(t)
         oids = self._storage.commitVersion(src, dst, t)
         self._storage.tpc_vote(t)
@@ -207,6 +208,7 @@
 
     def _abortVersion(self, ver):
         t = Transaction()
+        t.note("abort %r" % ver)
         self._storage.tpc_begin(t)
         oids = self._storage.abortVersion(ver, t)
         self._storage.tpc_vote(t)