[Zope-Checkins] CVS: ZODB3/ZEO/tests - InvalidationTests.py:1.4.2.1

Jeremy Hylton jeremy@zope.com
Thu, 26 Jun 2003 11:38:39 -0400


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)