Commit 53632750 authored by Jeremy Hylton's avatar Jeremy Hylton

Two fixes for testMonitor.

parent ecd4b70a
...@@ -45,7 +45,7 @@ class ZEOConfig: ...@@ -45,7 +45,7 @@ class ZEOConfig:
if self.invalidation_queue_size is not None: if self.invalidation_queue_size is not None:
print >> f, "invalidation-queue-size", self.invalidation_queue_size print >> f, "invalidation-queue-size", self.invalidation_queue_size
if self.monitor_address is not None: if self.monitor_address is not None:
print >> f, "monitor-address", self.monitor_address print >> f, "monitor-address %s:%s" % self.monitor_address
if self.transaction_timeout is not None: if self.transaction_timeout is not None:
print >> f, "transaction-timeout", self.transaction_timeout print >> f, "transaction-timeout", self.transaction_timeout
if self.authentication_protocol is not None: if self.authentication_protocol is not None:
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Test that the monitor produce sensible results. """Test that the monitor produce sensible results.
$Id: testMonitor.py,v 1.4 2003/05/23 22:09:36 jeremy Exp $ $Id: testMonitor.py,v 1.5 2003/05/30 17:40:30 jeremy Exp $
""" """
import socket import socket
...@@ -72,7 +72,7 @@ class MonitorTests(CommonSetupTearDown): ...@@ -72,7 +72,7 @@ class MonitorTests(CommonSetupTearDown):
return d return d
def getConfig(self, path, create, read_only): def getConfig(self, path, create, read_only):
return """<mappingstorage/>""" return """<mappingstorage 1/>"""
def testMonitor(self): def testMonitor(self):
# just open a client to know that the server is up and running # just open a client to know that the server is up and running
......
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