diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-06-14 19:38:41 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-06-14 19:38:41 +0000 |
commit | 2c940bcc6ccae7e93d26337a84a3c590f8259f82 (patch) | |
tree | 16597728818f0b52325a2f307020c3b959d1f2dd /java/config/TestUtil.py | |
parent | More simplifications... (diff) | |
download | ice-2c940bcc6ccae7e93d26337a84a3c590f8259f82.tar.bz2 ice-2c940bcc6ccae7e93d26337a84a3c590f8259f82.tar.xz ice-2c940bcc6ccae7e93d26337a84a3c590f8259f82.zip |
Simplified IceGridAdmin.py
Diffstat (limited to 'java/config/TestUtil.py')
-rw-r--r-- | java/config/TestUtil.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/config/TestUtil.py b/java/config/TestUtil.py index fcf7d0a717a..dc2e320123b 100644 --- a/java/config/TestUtil.py +++ b/java/config/TestUtil.py @@ -249,10 +249,12 @@ def ignorePid(pipe): continue break -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!" |