Commit 625bd94f authored by Jim Fulton's avatar Jim Fulton

parent 57ee3a1d
...@@ -111,7 +111,7 @@ handled correctly: ...@@ -111,7 +111,7 @@ handled correctly:
def proper_handling_of_errors_in_restart(): def proper_handling_of_errors_in_restart():
r""" 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. storage isn't left in tpc.
>>> fs = ZODB.FileStorage.FileStorage('t.fs', blob_dir='t.blobs') >>> fs = ZODB.FileStorage.FileStorage('t.fs', blob_dir='t.blobs')
...@@ -150,8 +150,7 @@ We can start another client and get the storage lock. ...@@ -150,8 +150,7 @@ We can start another client and get the storage lock.
>>> _ = zs1.vote('1') # doctest: +ELLIPSIS >>> _ = zs1.vote('1') # doctest: +ELLIPSIS
1 callAsync serialnos ... 1 callAsync serialnos ...
>>> zs1.tpc_finish('1') is not None >>> zs1.tpc_finish('1').set_sender(0, conn1)
True
>>> fs.close() >>> fs.close()
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment