aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/run_tests.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-05-10 07:53:46 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-10 07:53:46 +0000
commitce80dec85ee484d5c0cd6ed2a48c60529938a706 (patch)
tree0421a847abb8d90a6d9030c8d1c4a0a601c44cb0 /functest/ci/run_tests.py
parent1fc80d52c05b773bf9d1b1004d53c8e6ab36b655 (diff)
parenta212763c3e9f4cf6d52200aa614e42a911c5dbf7 (diff)
Merge changes from topic 'add_testcase_str'
* changes: Remove the former results in DB url Implement TestCase __str__()
Diffstat (limited to 'functest/ci/run_tests.py')
-rwxr-xr-xfunctest/ci/run_tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py
index ae002c2e3..1396644f7 100755
--- a/functest/ci/run_tests.py
+++ b/functest/ci/run_tests.py
@@ -155,6 +155,7 @@ def run_test(test, tier_name, testcases=None):
test_case.push_to_db()
result = test_case.is_successful()
duration = test_case.get_duration()
+ logger.info("\n%s\n", test_case)
except ImportError:
logger.exception("Cannot import module {}".format(
run_dict['module']))
@@ -167,8 +168,6 @@ def run_test(test, tier_name, testcases=None):
if test.needs_clean() and GlobalVariables.CLEAN_FLAG:
cleanup()
- logger.info("Test execution time: %s", duration)
-
if result != testcase.TestCase.EX_OK:
logger.error("The test case '%s' failed. " % test_name)
GlobalVariables.OVERALL_RESULT = Result.EX_ERROR