[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/testZEO2.py Need to call set_sender on tpc_finish result to get proper cleanup
Jim Fulton
jim at zope.com
Fri Feb 5 16:51:23 EST 2010
Log message for revision 108800:
Need to call set_sender on tpc_finish result to get proper cleanup
Changed:
U ZODB/trunk/src/ZEO/tests/testZEO2.py
-=-
Modified: ZODB/trunk/src/ZEO/tests/testZEO2.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/testZEO2.py 2010-02-05 21:50:40 UTC (rev 108799)
+++ ZODB/trunk/src/ZEO/tests/testZEO2.py 2010-02-05 21:51:23 UTC (rev 108800)
@@ -111,7 +111,7 @@
def proper_handling_of_errors_in_restart():
r"""
-It's critical that if there is an error in _restart (ie vote) that the
+It's critical that if there is an error in vote that the
storage isn't left in tpc.
>>> fs = ZODB.FileStorage.FileStorage('t.fs', blob_dir='t.blobs')
@@ -150,8 +150,7 @@
>>> _ = zs1.vote('1') # doctest: +ELLIPSIS
1 callAsync serialnos ...
- >>> zs1.tpc_finish('1') is not None
- True
+ >>> zs1.tpc_finish('1').set_sender(0, conn1)
>>> fs.close()
"""
More information about the Zodb-checkins
mailing list