summaryrefslogtreecommitdiff
path: root/java/config/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'java/config/TestUtil.py')
-rw-r--r--java/config/TestUtil.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/java/config/TestUtil.py b/java/config/TestUtil.py
index d839adceff7..15ddb023220 100644
--- a/java/config/TestUtil.py
+++ b/java/config/TestUtil.py
@@ -9,14 +9,13 @@
# **********************************************************************
#
-# 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".
+# 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
+# with incorrect DNS or hostname setups.
#
-#host = "someotherhost"
-host = "localhost"
+host = "127.0.0.1"
#
# Don't change anything below this line!
@@ -235,6 +234,7 @@ def mixedClientServerTestWithOptions(additionalServerOptions, additionalClientOp
print "starting client...",
clientPipe = os.popen(client + clientOptions + additionalClientOptions + " 2>&1")
+ print "\n\n" + client + clientOptions + additionalClientOptions + "\n\n"
print "ok"
printOutputFromPipe(clientPipe)