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 /cs/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 'cs/config/TestUtil.py')
-rw-r--r-- | cs/config/TestUtil.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cs/config/TestUtil.py b/cs/config/TestUtil.py index 14439928697..1ffb3dd3d41 100644 --- a/cs/config/TestUtil.py +++ b/cs/config/TestUtil.py @@ -227,10 +227,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!" |