From 20b9b2e3841172f13b8674bfb9f217b7fd6b6529 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Tue, 26 Jul 2016 09:54:37 +0800 Subject: 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 --- testcases/OpenStack/rally/run_rally-cert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit 1.2.3-korg