diff options
author | Mark Spruiell <mes@zeroc.com> | 2005-09-20 00:06:33 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2005-09-20 00:06:33 +0000 |
commit | a9a85e03e7e9f8da243e58d36b1aec2e698fdf35 (patch) | |
tree | 8334a181f70c6b5123e22252f9573b17becfec78 /cs/config/TestUtil.py | |
parent | Small java sync. (diff) | |
download | ice-a9a85e03e7e9f8da243e58d36b1aec2e698fdf35.tar.bz2 ice-a9a85e03e7e9f8da243e58d36b1aec2e698fdf35.tar.xz ice-a9a85e03e7e9f8da243e58d36b1aec2e698fdf35.zip |
fix for bug 267: adding thread-per-connection
Diffstat (limited to 'cs/config/TestUtil.py')
-rw-r--r-- | cs/config/TestUtil.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/cs/config/TestUtil.py b/cs/config/TestUtil.py index d0e53c758f5..f2ed1d9ae99 100644 --- a/cs/config/TestUtil.py +++ b/cs/config/TestUtil.py @@ -22,7 +22,15 @@ protocol = "" # compress = 0 -#compress = 1 // TODO: Not implemented yet +#compress = 1 + +# +# Set threadPerConnection to 1 in case you want to run the tests in +# thread per connection mode. +# + +threadPerConnection = 0 +#threadPerConnection = 1 # # If you don't set "host" below, then the Ice library will try to find @@ -160,6 +168,11 @@ if compress: serverProtocol += " --Ice.Override.Compress" clientServerProtocol += " --Ice.Override.Compress" +if threadPerConnection: + clientProtocol += " --Ice.ThreadPerConnection" + serverProtocol += " --Ice.ThreadPerConnection" + clientServerProtocol += " --Ice.ThreadPerConnection" + if host != "": defaultHost = " --Ice.Default.Host=" + host else: |