From 3460fd9b5379b288b34c6e2c5984d2e9f67cc3bd Mon Sep 17 00:00:00 2001 From: Maryam Tahhan Date: Wed, 11 May 2016 10:21:59 +0100 Subject: testcase: execution time Measure the execution time for a testcase and add it to the log. We need to report the test execution times for the testcases for OPNFV release C. Modified the timing result in the csv + results file to display a H:M:S format. Change-Id: Ife9e361da5f8b3fc3721050ae3e6dce049f7402d Signed-off-by: Maryam Tahhan Reviewed-by: Christian Trautman Reviewed-by: Martin Klozik Reviewed-by: Al Morton --- core/results/results_constants.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') diff --git a/core/results/results_constants.py b/core/results/results_constants.py index 1049e89b..b7ab7052 100644 --- a/core/results/results_constants.py +++ b/core/results/results_constants.py @@ -59,6 +59,8 @@ class ResultsConstants(object): SCAL_STREAM_TYPE = 'match_type' SCAL_PRE_INSTALLED_FLOWS = 'pre-installed_flows' + TEST_RUN_TIME = "test_execution_time" + @staticmethod def get_traffic_constants(): """Method returns all Constants used to store results. -- cgit 1.2.3-korg