diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-02-01 21:09:25 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-02-01 21:09:25 +0000 |
commit | e68cc9c248aa3453d2103742014ff020fad14329 (patch) | |
tree | aebb022831b20eb6de66cee3575345d757f6c2df /cpp/config/IceGridAdmin.py | |
parent | Fixed bug 1710 (diff) | |
download | ice-e68cc9c248aa3453d2103742014ff020fad14329.tar.bz2 ice-e68cc9c248aa3453d2103742014ff020fad14329.tar.xz ice-e68cc9c248aa3453d2103742014ff020fad14329.zip |
Fixed bug where thread per connection property wouldn't be set correctly
Diffstat (limited to 'cpp/config/IceGridAdmin.py')
-rw-r--r-- | cpp/config/IceGridAdmin.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cpp/config/IceGridAdmin.py b/cpp/config/IceGridAdmin.py index 05076c45d5a..2b2f6bdead3 100644 --- a/cpp/config/IceGridAdmin.py +++ b/cpp/config/IceGridAdmin.py @@ -136,8 +136,13 @@ def startIceGridNode(testdir): else: cleanDbDir(dataDir) - overrideOptions = '"' + TestUtil.clientServerOptions.replace("--", "") + \ - ' Ice.ServerIdleTime=0 Ice.PrintProcessId=0 Ice.PrintAdapterReady=0"' + overrideOptions = '"' + for opt in TestUtil.clientServerOptions.split(): + opt = opt.replace("--", "") + if opt.find("=") == -1: + opt += "=1" + overrideOptions += opt + " " + overrideOptions += ' Ice.ServerIdleTime=0 Ice.PrintProcessId=0 Ice.PrintAdapterReady=0"' print "starting icegrid node...", command = iceGrid + TestUtil.clientServerOptions + ' --nowarn ' + nodeOptions + \ |