[Zodb-checkins] SVN: ZODB/branches/3.4/src/ZODB/tests/synchronizers.txt Fixed some incorrect comments.

Tim Peters tim.one at comcast.net
Fri May 6 11:28:01 EDT 2005


Log message for revision 30284:
  Fixed some incorrect comments.
  

Changed:
  U   ZODB/branches/3.4/src/ZODB/tests/synchronizers.txt

-=-
Modified: ZODB/branches/3.4/src/ZODB/tests/synchronizers.txt
===================================================================
--- ZODB/branches/3.4/src/ZODB/tests/synchronizers.txt	2005-05-06 15:10:04 UTC (rev 30283)
+++ ZODB/branches/3.4/src/ZODB/tests/synchronizers.txt	2005-05-06 15:28:00 UTC (rev 30284)
@@ -61,10 +61,10 @@
 One more, very obscure.  It was the case that if the first action a new
 threaded transaction manager saw was a begin() call, then synchronizers
 registered after that in the same transaction weren't communicated to
-the Transaction object, and so the storage's afterCompletion() hook wasn't
-called when the transaction commited.  None of the test suites (ZODB's,
-Zope 2.8's, or Zope3's) caught that, but apparently Zope3 takes this path
-at some point when serving pages.
+the Transaction object, and so the synchronizers' afterCompletion() hooks
+weren't called when the transaction commited.  None of the test suites
+(ZODB's, Zope 2.8's, or Zope3's) caught that, but apparently Zope3 takes this
+path at some point when serving pages.
 
     >>> tm = transaction.ThreadTransactionManager()
     >>> st.sync_called = False
@@ -75,8 +75,8 @@
     >>> st.sync_called
     False
 
-Now ensure that st.afterCompletion() gets called by commit despite that the
-Connection registered after the transaction began:
+Now ensure that cn.afterCompletion() -> st.sync() gets called by commit
+despite that the Connection registered after the transaction began:
 
     >>> tm.commit()
     >>> st.sync_called



More information about the Zodb-checkins mailing list