[prev in list] [next in list] [prev in thread] [next in thread]
List: zodb-checkins
Subject: [Zodb-checkins] CVS: Zope3/src/ZEO/tests - ConnectionTests.py:1.57
From: Gintautas Miliauskas <gintas () pov ! lt>
Date: 2004-04-25 13:14:23
Message-ID: 200404251314.i3PDENcI015033 () cvs ! zope ! org
[Download RAW message or body]
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]
_______________________________________________
Zodb-checkins mailing list
Zodb-checkins@zope.org
http://mail.zope.org/mailman/listinfo/zodb-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic