Commit 977d983f authored by Tim Peters's avatar Tim Peters

ZODBClientThread.get_thread_dict(): check7ZODBThreads fails often on

Fred's machine, due to this routine falling off the end and returning
None.  Sync'ing the connection after a ConflictError appears to fix
it, or at least make it much less likely to fail.
parent fe8656ec
...@@ -96,6 +96,7 @@ class ZODBClientThread(TestThread): ...@@ -96,6 +96,7 @@ class ZODBClientThread(TestThread):
return root.get(name) return root.get(name)
except ConflictError: except ConflictError:
get_transaction().abort() get_transaction().abort()
root._p_jar.sync()
class StorageClientThread(TestThread): class StorageClientThread(TestThread):
......
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