[Zodb-checkins] CVS: Zope/lib/python/ZODB/tests -
MTStorage.py:1.4.6.3
Tim Peters
tim.one at comcast.net
Wed Jun 18 13:32:09 EDT 2003
Update of /cvs-repository/Zope/lib/python/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv22293/lib/python/ZODB/tests
Modified Files:
Tag: Zope-2_6-branch
MTStorage.py
Log Message:
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.
=== Zope/lib/python/ZODB/tests/MTStorage.py 1.4.6.2 => 1.4.6.3 ===
--- Zope/lib/python/ZODB/tests/MTStorage.py:1.4.6.2 Tue May 13 14:04:21 2003
+++ Zope/lib/python/ZODB/tests/MTStorage.py Wed Jun 18 12:32:09 2003
@@ -96,6 +96,7 @@
return root.get(name)
except ConflictError:
get_transaction().abort()
+ root._p_jar.sync()
class StorageClientThread(TestThread):
More information about the Zodb-checkins
mailing list