From: SerenaFeng Date: Tue, 26 Jul 2016 01:54:37 +0000 (+0800) Subject: Bad status on rally_sanity X-Git-Tag: colorado.1.0~215 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F17525%2F2;p=functest.git 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 --- 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: