summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index 257ae8c6cb9..9954769b93a 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -32,12 +32,14 @@ compress = 1
#compress = 0
#
-# Set the host to the host name the test servers are running on. If not
-# set, the local host is used.
+# Set the host to the host name the test servers are running on. If
+# not set, Ice will try to find out the IP address for the
+# hostname. If you DNS isn't set up propertly, you should therefore
+# use "localhost".
#
#host = "someotherhost"
-host = ""
+host = "localhost"
#
# Don't change anything below this line!
@@ -70,10 +72,10 @@ else:
commonServerOptions = " --Ice.PrintProcessId --Ice.PrintAdapterReady --Ice.ServerThreadPool.Size=3" + \
" --Ice.ConnectionWarnings --Ice.ServerIdleTime=30"
-serverOptions = commonServerOptions + serverProtocol
clientOptions = clientProtocol + defaultHost
-clientServerOptions = commonServerOptions + clientServerProtocol + defaultHost
-collocatedOptions = clientServerProtocol
+serverOptions = serverProtocol + defaultHost + commonServerOptions
+clientServerOptions = clientServerProtocol + defaultHost + commonServerOptions
+collocatedOptions = clientServerProtocol + defaultHost
def isCygwin():