[Zodb-checkins] CVS: ZODB3/ZEO/tests - InvalidationTests.py:1.1.4.4
Tim Peters
tim.one at comcast.net
Thu Jun 12 21:53:31 EDT 2003
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv29572/ZEO/tests
Modified Files:
Tag: ZODB3-3_1-branch
InvalidationTests.py
Log Message:
Whitespace normalization.
=== ZODB3/ZEO/tests/InvalidationTests.py 1.1.4.3 => 1.1.4.4 ===
--- ZODB3/ZEO/tests/InvalidationTests.py:1.1.4.3 Thu Jun 12 17:43:28 2003
+++ ZODB3/ZEO/tests/InvalidationTests.py Thu Jun 12 20:53:30 2003
@@ -67,7 +67,7 @@
cn.close()
class VersionStressThread(TestThread):
-
+
def __init__(self, testcase, db, stop, threadnum, startnum,
step=2, sleep=None):
TestThread.__init__(self, testcase)
@@ -94,7 +94,7 @@
# of VersionLockErrors, based on empirical observation.
# It looks like the threads don't switch enough without
# the sleeps.
-
+
cn = self.db.open(version)
while not self.stop.isSet():
try:
@@ -179,7 +179,7 @@
stop.set()
for t in threads:
t.cleanup()
-
+
def checkConcurrentUpdates2Storages(self):
self._storage = storage1 = self.openClientStorage()
storage2 = self.openClientStorage()
@@ -239,7 +239,7 @@
# Two of the threads share a single storage so that it
# is possible for both threads to read the same object
# at the same time.
-
+
t1 = StressThread(self, db1, stop, 1, 1, 3)
t2 = StressThread(self, db2, stop, 2, 2, 3, 0.001)
t3 = StressThread(self, db2, stop, 3, 3, 3, 0.001)
@@ -267,7 +267,7 @@
# Two of the threads share a single storage so that it
# is possible for both threads to read the same object
# at the same time.
-
+
t1 = VersionStressThread(self, db1, stop, 1, 1, 3)
t2 = VersionStressThread(self, db2, stop, 2, 2, 3, 0.001)
t3 = VersionStressThread(self, db2, stop, 3, 3, 3, 0.001)
@@ -280,4 +280,3 @@
cn.close()
db1.close()
db2.close()
-
More information about the Zodb-checkins
mailing list