Commit 07686fd0 authored by Barry Warsaw's avatar Barry Warsaw

Use 'localhost' instead of '' for the host part for Windows happiness.

parent 42f33be0
...@@ -129,7 +129,7 @@ class Suicide(threading.Thread): ...@@ -129,7 +129,7 @@ class Suicide(threading.Thread):
self._adminaddr = addr self._adminaddr = addr
def run(self): 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): for i in range(20):
time.sleep(5) time.sleep(5)
from ZEO.tests.forker import shutdown_zeo_server from ZEO.tests.forker import shutdown_zeo_server
...@@ -173,8 +173,8 @@ def main(): ...@@ -173,8 +173,8 @@ def main():
# The rest of the args are hostname, portnum # The rest of the args are hostname, portnum
zeo_port = int(args[0]) zeo_port = int(args[0])
test_port = zeo_port + 1 test_port = zeo_port + 1
test_addr = ('', test_port) test_addr = ('localhost', test_port)
addr = ('', zeo_port) addr = ('localhost', zeo_port)
log(label, 'creating the storage server') log(label, 'creating the storage server')
serv = ZEO.StorageServer.StorageServer( serv = ZEO.StorageServer.StorageServer(
addr, {'1': storage}, ro_svr, addr, {'1': storage}, ro_svr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment