summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/storperf-master/storperf/utilities/data_handler.py4
-rw-r--r--docker/storperf-master/tests/utilities_tests/data_handler_test.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/docker/storperf-master/storperf/utilities/data_handler.py b/docker/storperf-master/storperf/utilities/data_handler.py
index 471c295..f5bf387 100644
--- a/docker/storperf-master/storperf/utilities/data_handler.py
+++ b/docker/storperf-master/storperf/utilities/data_handler.py
@@ -141,11 +141,11 @@ class DataHandler(object):
criteria = 'FAIL'
executor.metadata['criteria'] = criteria
- executor.metadata['start_time'] = \
+ executor.metadata['start_date'] = \
time.strftime('%Y-%m-%d %H:%M:%S',
time.gmtime(executor.start_time))
- executor.metadata['end_time'] = \
+ executor.metadata['stop_date'] = \
time.strftime('%Y-%m-%d %H:%M:%S',
time.gmtime(executor.end_time))
diff --git a/docker/storperf-master/tests/utilities_tests/data_handler_test.py b/docker/storperf-master/tests/utilities_tests/data_handler_test.py
index f028bd0..d83bf1b 100644
--- a/docker/storperf-master/tests/utilities_tests/data_handler_test.py
+++ b/docker/storperf-master/tests/utilities_tests/data_handler_test.py
@@ -301,8 +301,8 @@ class DataHandlerTest(unittest.TestCase):
self.assertEqual('FAIL', self.db_results[1]['criteria'],
'Expected FAIL in criteria')
self.assertEqual('2017-09-04 21:05:00',
- self.db_results[1]['start_time'],
+ self.db_results[1]['start_date'],
'Start time')
self.assertEqual('2017-09-04 21:20:00',
- self.db_results[1]['end_time'],
+ self.db_results[1]['stop_date'],
'End time')