diff options
author | Brent Eagles <brent@zeroc.com> | 2006-11-01 14:30:22 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2006-11-01 14:30:22 +0000 |
commit | bc8df05940f980777fd2b121c971527197f5a248 (patch) | |
tree | 16be0e41335860a1534efd0c931ebd136e711c2a /cpp/config/TestUtil.py | |
parent | adding note about debug mode (diff) | |
download | ice-bc8df05940f980777fd2b121c971527197f5a248.tar.bz2 ice-bc8df05940f980777fd2b121c971527197f5a248.tar.xz ice-bc8df05940f980777fd2b121c971527197f5a248.zip |
removing memory pool
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r-- | cpp/config/TestUtil.py | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py index 11373100203..cf8da7df2bb 100644 --- a/cpp/config/TestUtil.py +++ b/cpp/config/TestUtil.py @@ -33,12 +33,6 @@ threadPerConnection = 0 #threadPerConnection = 2 # -# Set to 1 to disable the memory pool. -# -#disablePool=1 -disablePool=0 - -# # If you don't set "host" below, then the Ice library will try to find # out the IP address of this host. For the Ice test suite, it's best # to set the IP address explicitly to 127.0.0.1. This avoid problems @@ -59,10 +53,10 @@ import sys, os, re, errno, getopt from threading import Thread def usage(): - print "usage: " + sys.argv[0] + " --debug --protocol protocol --compress --host host --threadPerConnection num --disablePool" + print "usage: " + sys.argv[0] + " --debug --protocol protocol --compress --host host --threadPerConnection num" sys.exit(2) try: - opts, args = getopt.getopt(sys.argv[1:], "", ["debug", "protocol=", "compress", "host=", "threadPerConnection=", "disablePool"]) + opts, args = getopt.getopt(sys.argv[1:], "", ["debug", "protocol=", "compress", "host=", "threadPerConnection="]) except getopt.GetoptError: usage() @@ -75,8 +69,6 @@ for o, a in opts: compress = 1 if o == "--threadPerConnection": threadPerConnection = a - if o == "--disablePool": - disablePool = 1 if o == "--host": host = a @@ -412,10 +404,6 @@ else: commonServerOptions += " --Ice.ThreadPool.Server.Size=1 --Ice.ThreadPool.Server.SizeMax=3" + \ " --Ice.ThreadPool.Server.SizeWarn=0" -if disablePool == 1: - commonClientOptions = " --Ice.MemoryPool=0 " + commonClientOptions - commonServerOptions = " --Ice.MemoryPool=0 " + commonServerOptions - clientOptions = clientProtocol + defaultHost + commonClientOptions serverOptions = serverProtocol + defaultHost + commonServerOptions clientServerOptions = clientServerProtocol + defaultHost + commonServerOptions |