summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormorganrOL <morgan.richomme@orange.com>2015-05-12 17:00:42 +0200
committermorganrOL <morgan.richomme@orange.com>2015-05-12 17:00:42 +0200
commitdc51a048dd249fb5cece1774ebb3ab44857afaa7 (patch)
treea3d61cf98a14ba4c556ea7f4bd071e621cfd4eeb
parentb96a2e41541561c18d02fdca38c2eff3bc312ae8 (diff)
fix bug on error detection
JIRA: FUNCTEST-1 Change-Id: I817c71ee74e15fd2b2d4de7feab3ebda19648ec9 Signed-off-by: morganrOL <morgan.richomme@orange.com>
-rw-r--r--testcases/VIM/OpenStack/CI/libraries/run_rally.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/run_rally.py b/testcases/VIM/OpenStack/CI/libraries/run_rally.py
index 2bfb8127f..1f63b1bfb 100644
--- a/testcases/VIM/OpenStack/CI/libraries/run_rally.py
+++ b/testcases/VIM/OpenStack/CI/libraries/run_rally.py
@@ -95,7 +95,7 @@ def task_succeed(json_raw):
return False
for result in rally_report.get('result'):
- if len(result.get('errors')) > 0:
+ if len(result.get('error')) > 0:
return False
return True