summaryrefslogtreecommitdiff
path: root/cs/config/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'cs/config/TestUtil.py')
-rw-r--r--cs/config/TestUtil.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cs/config/TestUtil.py b/cs/config/TestUtil.py
index 4cac9366eee..16b0819d0e5 100644
--- a/cs/config/TestUtil.py
+++ b/cs/config/TestUtil.py
@@ -75,6 +75,9 @@ def closePipe(pipe):
# TODO: There's a waitpid problem on CentOS, so we have to ignore ECHILD.
if ex.errno == errno.ECHILD:
status = 0
+ # This happens with the C# fault tolerance test. Ignore this error.
+ elif ex.errno == 0:
+ status = 0
else:
raise
@@ -95,6 +98,7 @@ class ReaderThread(Thread):
if not line.endswith(" ready\n") and not line.endswith(" ready\r\n"):
print line,
except IOError:
+ print "IOError"
pass
self.status = closePipe(self.pipe)