summaryrefslogtreecommitdiff
path: root/cs/config/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'cs/config/TestUtil.py')
-rw-r--r--cs/config/TestUtil.py15
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: