summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-06-12 12:45:52 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-06-12 12:45:52 +0000
commit55f29175971c6a15532f22a25ed1243eccfd32da (patch)
tree2810200df3dc15a24ef6fe1b14b04a2159703944 /cpp/config/TestUtil.py
parentFixed bug 1045 (diff)
downloadice-55f29175971c6a15532f22a25ed1243eccfd32da.tar.bz2
ice-55f29175971c6a15532f22a25ed1243eccfd32da.tar.xz
ice-55f29175971c6a15532f22a25ed1243eccfd32da.zip
Fixed IceGrid python scripts
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index 865df2b44bd..d5e2eacea3f 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -222,10 +222,12 @@ def ignorePid(pipe):
killServers()
sys.exit(1)
-def getAdapterReady(pipe, createThread = True):
+def getAdapterReady(pipe, createThread = True, count = 1):
global serverThreads
- output = pipe.readline().strip()
+ while count > 0:
+ output = pipe.readline().strip()
+ count = count - 1
if not output:
print "failed!"