diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2016-06-23 10:01:27 +0100 |
---|---|---|
committer | Martin Klozik <martinx.klozik@intel.com> | 2016-06-23 12:25:47 +0100 |
commit | e04b1b9a22f93bb1783ff9e82486aec38dcb0efb (patch) | |
tree | baaa0cca374fa1b677cc2a2b7cf5f843d109609d /testcases/testcase.py | |
parent | bb1323f26bb6e6cafd392727c066f3919215a20f (diff) |
results: Write trafficgen results into CSV
Write test results provided by traffic generator into CSV file
also in case, that trafficgen mode is selected.
JIRA: VSPERF-288
Change-Id: Ib55f9f81aadef7dd20a5dce4b000dc2c9607cb95
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Diffstat (limited to 'testcases/testcase.py')
-rw-r--r-- | testcases/testcase.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/testcase.py b/testcases/testcase.py index 9441632b..e5f8a14c 100644 --- a/testcases/testcase.py +++ b/testcases/testcase.py @@ -245,7 +245,7 @@ class TestCase(object): self._traffic_ctl.print_results() self._tc_results = self._append_results(self._traffic_ctl.get_results()) - TestCase._write_result_to_file(self._tc_results, self._output_file) + TestCase.write_result_to_file(self._tc_results, self._output_file) def run(self): """Run the test @@ -392,7 +392,7 @@ class TestCase(object): self._hugepages_mounted = False @staticmethod - def _write_result_to_file(results, output): + def write_result_to_file(results, output): """Write list of dictionaries to a CSV file. Each element on list will create separate row in output file. |