diff options
author | Maryam Tahhan <maryam.tahhan@intel.com> | 2016-05-11 10:21:59 +0100 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2016-05-11 15:19:16 +0100 |
commit | 3460fd9b5379b288b34c6e2c5984d2e9f67cc3bd (patch) | |
tree | 195bee13a1ef50334dd16d54b87fe9f54ae5689d /core/results | |
parent | fec2b7afe7cb98ae923bbd5a9d363038199ad0bb (diff) |
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 <maryam.tahhan@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Diffstat (limited to 'core/results')
-rw-r--r-- | core/results/results_constants.py | 2 |
1 files changed, 2 insertions, 0 deletions
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. |