summaryrefslogtreecommitdiff
path: root/java/config/TestUtil.py
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-08-25 00:23:58 +0000
committerMarc Laukien <marc@zeroc.com>2004-08-25 00:23:58 +0000
commit125a739d03d2cf7c6071af645a48c5c086ea1772 (patch)
tree69b4a22aa8c9e9952a0f583be6061b0384e4e668 /java/config/TestUtil.py
parentargs parsing (diff)
downloadice-125a739d03d2cf7c6071af645a48c5c086ea1772.tar.bz2
ice-125a739d03d2cf7c6071af645a48c5c086ea1772.tar.xz
ice-125a739d03d2cf7c6071af645a48c5c086ea1772.zip
host for tests
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)