[Zope3-checkins] CVS: Zope3/src/ZEO/tests - ConnectionTests.py:1.57
testAuth.py:1.8 testZEO.py:1.81
Gintautas Miliauskas
gintas at pov.lt
Sun Apr 25 09:14:22 EDT 2004
Update of /cvs-repository/Zope3/src/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv14208/src/ZEO/tests
Modified Files:
ConnectionTests.py testAuth.py testZEO.py
Log Message:
Dropped in a few delays in tests that (for me) remove consistently appearing
'test left threads behind' warnings. Tests in testZEO sometimes do
that too, but that's hard to reproduce.
=== Zope3/src/ZEO/tests/ConnectionTests.py 1.56 => 1.57 ===
--- Zope3/src/ZEO/tests/ConnectionTests.py:1.56 Sun Apr 25 07:34:18 2004
+++ Zope3/src/ZEO/tests/ConnectionTests.py Sun Apr 25 09:14:21 2004
@@ -299,6 +299,8 @@
# Stores should fail here
self.assertRaises(ReadOnlyError, self._dostore)
self._storage.close()
+ # Get rid of the 'test left new threads behind' warning
+ time.sleep(0.1)
def checkReadOnlyFallbackWritable(self):
# Open a fallback client to a read-write server; stores succeed
=== Zope3/src/ZEO/tests/testAuth.py 1.7 => 1.8 ===
--- Zope3/src/ZEO/tests/testAuth.py:1.7 Thu Feb 26 19:31:52 2004
+++ Zope3/src/ZEO/tests/testAuth.py Sun Apr 25 09:14:21 2004
@@ -66,9 +66,9 @@
def wait(self):
for i in range(25):
+ time.sleep(0.1)
if self._storage.test_connection:
return
- time.sleep(0.1)
self.fail("Timed out waiting for client to authenticate")
def testOK(self):
=== Zope3/src/ZEO/tests/testZEO.py 1.80 => 1.81 ===
--- Zope3/src/ZEO/tests/testZEO.py:1.80 Sun Apr 25 07:34:18 2004
+++ Zope3/src/ZEO/tests/testZEO.py Sun Apr 25 09:14:21 2004
@@ -203,6 +203,7 @@
# XXX There are still a bunch of tests that fail. Are there
# still test classes in GenericTests that shouldn't be there?
+ # XXX Is the above comment still relevant?
test_classes = [FileStorageTests, MappingStorageTests]
More information about the Zope3-Checkins
mailing list