From 8a2308eeffc62f65ed69abe5a1afce324b2d3417 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Mon, 24 Jan 2005 17:24:04 +0000 Subject: Better support for slow server activation and IcePack registry timeout. --- cpp/config/IcePackAdmin.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'cpp/config/IcePackAdmin.py') diff --git a/cpp/config/IcePackAdmin.py b/cpp/config/IcePackAdmin.py index b78eb5735a6..57339101ce9 100644 --- a/cpp/config/IcePackAdmin.py +++ b/cpp/config/IcePackAdmin.py @@ -56,7 +56,8 @@ def startIcePackRegistry(port, testdir): print "starting icepack registry...", command = icePack + TestUtil.clientServerOptions + ' --nowarn ' + \ - r' --IcePack.Registry.Client.Endpoints="default -p ' + icePackPort + ' -t 5000" ' + \ + r' --IcePack.Registry.Client.Endpoints="default -p ' + icePackPort + ' -t 5000" ' + \ + r' --Ice.Warn.Connections=0' + \ r' --IcePack.Registry.Server.Endpoints=default' + \ r' --IcePack.Registry.Internal.Endpoints=default' + \ r' --IcePack.Registry.Admin.Endpoints=default' + \ @@ -89,12 +90,14 @@ def startIcePackNode(testdir): os.mkdir(dataDir) overrideOptions = '"' + TestUtil.clientServerOptions.replace("--", "") + \ - ' Ice.PrintProcessId=0 Ice.PrintAdapterReady=0' + '"' + ' Ice.ServerIdleTime=0 Ice.PrintProcessId=0 Ice.PrintAdapterReady=0' + '"' print "starting icepack node...", command = icePack + TestUtil.clientServerOptions + ' --nowarn ' + \ r' "--Ice.Default.Locator=IcePack/Locator:default -p ' + icePackPort + '" ' + \ + r' --Ice.Warn.Connections=0' + \ r' --IcePack.Node.Endpoints=default' + \ + r' --IcePack.Node.WaitTime=30' + \ r' --IcePack.Node.Data=' + dataDir + \ r' --IcePack.Node.Name=localnode' + \ r' --IcePack.Node.PropertiesOverride=' + overrideOptions + \ -- cgit v1.2.3