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

Tim Peters tim.one at comcast.net
Thu Jun 12 22:33:52 EDT 2003


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

Modified Files:
      Tag: ZODB3-3_1-branch
	InvalidationTests.py 
Log Message:
testrun():  Increment the key on each iteration, regardless of whether
the last key was successfully added.  This allows for gaps in the sequence
of keys the thread does manage to add, and that in turn gives the
"are those really the keys that showed up in the database?" test in
_check_threads() greater opportunity to fail.


=== ZODB3/ZEO/tests/InvalidationTests.py 1.1.4.5 => 1.1.4.6 ===
--- ZODB3/ZEO/tests/InvalidationTests.py:1.1.4.5	Thu Jun 12 21:17:42 2003
+++ ZODB3/ZEO/tests/InvalidationTests.py	Thu Jun 12 21:33:52 2003
@@ -82,7 +82,7 @@
                 cn.sync()
             else:
                 self.added_keys.append(key)
-                key += self.step
+            key += self.step
         cn.close()
 
 class VersionStressThread(TestThread):




More information about the Zodb-checkins mailing list