From 6183a7545797733309e42fcc3e8138ce8901c357 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Thu, 24 Nov 2016 14:24:47 +0800 Subject: bugfix: correct test report status reporting status of the test result should be checked based on execution result not push_to_db result Change-Id: I6f550f8243ba021108ce899cbebe98f3ff45c0e1 Signed-off-by: SerenaFeng --- functest/ci/run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functest/ci/run_tests.py') diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py index e8be4290..015b5840 100644 --- a/functest/ci/run_tests.py +++ b/functest/ci/run_tests.py @@ -124,7 +124,7 @@ def run_test(test, tier_name): test_case = cls() result = test_case.run() if result != TestCasesBase.TestCasesBase.EX_SKIP and REPORT_FLAG: - result = test_case.push_to_db() + test_case.push_to_db() except ImportError: logger.exception("Cannot import module {}".format( run_dict['module'])) -- cgit 1.2.3-korg