[Zodb-checkins] CVS: ZODB3/ZEO/tests - InvalidationTests.py:1.4.2.1

Jeremy Hylton jeremy at zope.com
Thu Jun 26 12:38:39 EDT 2003


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv28972

Modified Files:
      Tag: ZODB3-3_2-branch
	InvalidationTests.py 
Log Message:
Remove a sleep that primarily reduces the number of keys added.

The sleep between txn commit and version abort/commit doesn't allow
any other threads to do any useful work.



=== ZODB3/ZEO/tests/InvalidationTests.py 1.4 => 1.4.2.1 ===
--- ZODB3/ZEO/tests/InvalidationTests.py:1.4	Fri Jun 13 19:09:30 2003
+++ ZODB3/ZEO/tests/InvalidationTests.py	Thu Jun 26 11:38:38 2003
@@ -136,8 +136,6 @@
                 tree[key] = self.threadnum
                 get_transaction().note("add key %d" % key)
                 get_transaction().commit()
-                if self.sleep:
-                    time.sleep(self.sleep)
                 break
             except (VersionLockError, ReadConflictError, ConflictError), msg:
                 self.log(msg)




More information about the Zodb-checkins mailing list