summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-10-25 22:26:08 +0000
committerMarc Laukien <marc@zeroc.com>2004-10-25 22:26:08 +0000
commit32775e740627ff289197dab5e457734c4c0847ba (patch)
tree157ebb09a7b66772858cb5505dcd483316567b03 /cpp/config/TestUtil.py
parentusing Make.rules instead of distutils (diff)
downloadice-32775e740627ff289197dab5e457734c4c0847ba.tar.bz2
ice-32775e740627ff289197dab5e457734c4c0847ba.tar.xz
ice-32775e740627ff289197dab5e457734c4c0847ba.zip
started with thread per client
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index 3b36cf6638f..e70e9888832 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -25,6 +25,14 @@ protocol = "ssl"
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
# 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
@@ -225,6 +233,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: