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

Jeremy Hylton jeremy at zope.com
Fri May 30 12:08:41 EDT 2003


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

Modified Files:
	zeoserver.py 
Log Message:
Repair code to set the monitor server address.


=== ZODB3/ZEO/tests/zeoserver.py 1.16 => 1.17 ===
--- ZODB3/ZEO/tests/zeoserver.py:1.16	Thu May 29 14:53:25 2003
+++ ZODB3/ZEO/tests/zeoserver.py	Fri May 30 11:08:40 2003
@@ -160,13 +160,16 @@
     addr = ('localhost', zeo_port)
     log(label, 'creating the storage server')
     storage = zo.storages[0].open()
+    mon_addr = None
+    if zo.monitor_address:
+        mon_addr = zo.monitor_address.address
     server = ZEO.StorageServer.StorageServer(
         zo.address,
         {"1": storage},
         read_only=zo.read_only,
         invalidation_queue_size=zo.invalidation_queue_size,
         transaction_timeout=zo.transaction_timeout,
-        monitor_address=zo.monitor_address)
+        monitor_address=mon_addr)
     
     try:
         log(label, 'creating the test server, keep: %s', keep)




More information about the Zodb-checkins mailing list