[Zope-Checkins] CVS: ZODB3/ZEO/tests - testStart.py:1.16
Guido van Rossum
guido@python.org
Mon, 27 Jan 2003 17:28:08 -0500
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv2665
Modified Files:
testStart.py
Log Message:
Port timeout and cleanup tweaks from 3.1 release branch.
Re-enable these tests; I can't reproduce the claimed breakage in the
Zope 2.7 tree.
=== ZODB3/ZEO/tests/testStart.py 1.15 => 1.16 ===
--- ZODB3/ZEO/tests/testStart.py:1.15 Thu Dec 19 11:58:49 2002
+++ ZODB3/ZEO/tests/testStart.py Mon Jan 27 17:28:05 2003
@@ -134,10 +134,13 @@
f = open(file, "rb")
buf = f.read()
f.close()
+ os.unlink(file)
return buf
def connect(self, port=None, wait=1):
- cs = ClientStorage(('', port), wait=wait)
+ cs = ClientStorage(('', port), wait=wait,
+ min_disconnect_poll=0.1,
+ max_disconnect_poll=0.2)
cs.close()
def testErrNoPort(self):
@@ -187,11 +190,6 @@
pass
def test_suite():
-
- # XXX These tests hang on the Zope trunk. Disable for now, as
- # start.py won't be supported in ZODB 3.2 anyway.
-
- return None
# shutup warnings about mktemp
import warnings