summaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-07-26 09:54:37 +0800
committerJose Lausuch <jose.lausuch@ericsson.com>2016-07-26 08:42:26 +0000
commit20b9b2e3841172f13b8674bfb9f217b7fd6b6529 (patch)
treee807db09349a723e00382cbe8411ac10edd284dc /testcases
parent67dc38072989d3dd5f98d15fcdf4599d63611cc9 (diff)
Bad status on rally_sanity
format total_success to float when compared with numeric 90 JIRA: FUNCTEST-365 Change-Id: I473582053c107bb026bf0e8d76dab46b2e5e3eb6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testcases')
-rwxr-xr-xtestcases/OpenStack/rally/run_rally-cert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/OpenStack/rally/run_rally-cert.py b/testcases/OpenStack/rally/run_rally-cert.py
index 589939bea..9f7eecc79 100755
--- a/testcases/OpenStack/rally/run_rally-cert.py
+++ b/testcases/OpenStack/rally/run_rally-cert.py
@@ -515,7 +515,7 @@ def main():
# Evaluation of the success criteria
status = "FAIL"
# for Rally we decided that the overall success rate must be above 90%
- if total_success >= 90:
+ if float(total_success) >= 90:
status = "PASS"
if args.sanity: