summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-11-14 13:29:26 +0000
committerMarc Laukien <marc@zeroc.com>2001-11-14 13:29:26 +0000
commit1547494750fd95418135b9c476d2af928a900e40 (patch)
treed0c251a1dbe76ef89e7d3e7b995e1dd2e15c2105 /cpp/config/TestUtil.py
parentmake depend (diff)
downloadice-1547494750fd95418135b9c476d2af928a900e40.tar.bz2
ice-1547494750fd95418135b9c476d2af928a900e40.tar.xz
ice-1547494750fd95418135b9c476d2af928a900e40.zip
fixes
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index 8b9d0cbf652..6e0de3a7ac9 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -13,7 +13,7 @@ import sys, os
protocol = "tcp"
-serverOptions = " --Ice.PrintProcessId --Ice.PrintAdapterReady --Ice.ServerIdleTime=60" + \
+serverOptions = " --Ice.PrintProcessId --Ice.PrintAdapterReady --Ice.ServerIdleTime=30" + \
" --Ice.Ssl.Config=TOPLEVELDIR/Certs/server_sslconfig.xml --Ice.Protocol=" + protocol
clientOptions = " --Ice.Ssl.Config=TOPLEVELDIR/Certs/client_sslconfig.xml --Ice.Protocol=" + protocol
@@ -55,7 +55,6 @@ def getAdapterReady(serverPipe):
print "failed!"
killServers()
sys.exit(1)
-
def clientServerTest(toplevel, name):
@@ -64,13 +63,14 @@ def clientServerTest(toplevel, name):
client = os.path.normpath(testdir + "/client")
updatedServerOptions = serverOptions.replace("TOPLEVELDIR", toplevel)
+ updatedClientOptions = clientOptions.replace("TOPLEVELDIR", toplevel)
+
print "starting server...",
serverPipe = os.popen(server + updatedServerOptions)
getServerPid(serverPipe)
getAdapterReady(serverPipe)
print "ok"
- updatedClientOptions = clientOptions.replace("TOPLEVELDIR", toplevel)
print "starting client...",
clientPipe = os.popen(client + updatedClientOptions)
output = clientPipe.readline()
@@ -92,6 +92,7 @@ def collocatedTest(toplevel, name):
collocated = os.path.normpath(testdir + "/collocated")
updatedCollocatedOptions = collocatedOptions.replace("TOPLEVELDIR", toplevel)
+
print "starting collocated...",
collocatedPipe = os.popen(collocated + updatedCollocatedOptions)
output = collocatedPipe.read().strip()