Commit a83e16c7 authored by Benjamin Blanc's avatar Benjamin Blanc

taskdistribution: add exception when isRunning failed

parent 15cb7870
......@@ -142,7 +142,11 @@ class TestResultLineProxy(RPCRetry):
"""
Return : boolean
"""
return bool(self._retryRPC('isTestCaseRunning', [self._test_result_line_path]))
try:
return bool(self._retryRPC('isTestCaseRunning', [self._test_result_line_path]))
except:
raise ValueError('isTestCaseRunning Failed.')
def isFailed(self):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment