[Zodb-checkins] CVS: ZODB3/ZEO/tests - zeoserver.py:1.13

Barry Warsaw barry@wooz.org
Fri, 28 Feb 2003 18:41:26 -0500


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

Modified Files:
	zeoserver.py 
Log Message:
Use 'localhost' instead of '' for the host part for Windows happiness.


=== ZODB3/ZEO/tests/zeoserver.py 1.12 => 1.13 ===
--- ZODB3/ZEO/tests/zeoserver.py:1.12	Mon Jan 27 15:11:25 2003
+++ ZODB3/ZEO/tests/zeoserver.py	Fri Feb 28 18:41:25 2003
@@ -129,7 +129,7 @@
         self._adminaddr = addr
 
     def run(self):
-        # If this process doesn't exit in 60 seconds, commit suicide
+        # If this process doesn't exit in 100 seconds, commit suicide
         for i in range(20):
             time.sleep(5)
         from ZEO.tests.forker import shutdown_zeo_server
@@ -173,8 +173,8 @@
     # The rest of the args are hostname, portnum
     zeo_port = int(args[0])
     test_port = zeo_port + 1
-    test_addr = ('', test_port)
-    addr = ('', zeo_port)
+    test_addr = ('localhost', test_port)
+    addr = ('localhost', zeo_port)
     log(label, 'creating the storage server')
     serv = ZEO.StorageServer.StorageServer(
         addr, {'1': storage}, ro_svr,