diff options
author | 2015-09-16 11:19:15 +0000 | |
---|---|---|
committer | 2015-09-24 11:24:44 +0800 | |
commit | 735af0fc05d73cbc7bd97b52a230d966cbfec6c3 (patch) | |
tree | 0bd872895a6ee0fa9088dd5c4512536f2edd85b5 /yardstick/dispatcher | |
parent | 8650a0a22182987e70f34653d8521ea2072ee5c8 (diff) |
Fix bug in fio scenario
1) when duration>3600s in fio.yaml, ssh time out
2) sometimes the latency value in test result is null
3) update plot.py, fit for code update in fio.py
4) small bug in file.py (result output dump)
Add --output-format=json in default args, so fio command
can return json format data.
JIRA: YARDSTICK-143
Change-Id: Ie02977b8c9f11986a1eed66896b84d18db3d2211
Signed-off-by: houjingwen <houjingwen@huawei.com>
Diffstat (limited to 'yardstick/dispatcher')
-rw-r--r-- | yardstick/dispatcher/file.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yardstick/dispatcher/file.py b/yardstick/dispatcher/file.py index 7c644f82f..dc39f152e 100644 --- a/yardstick/dispatcher/file.py +++ b/yardstick/dispatcher/file.py @@ -8,6 +8,7 @@ ############################################################################## import logging +import json from yardstick.dispatcher.base import Base as DispatchBase @@ -50,4 +51,4 @@ class FileDispatcher(DispatchBase): def record_result_data(self, data): if self.log: - self.log.info(data) + self.log.info(json.dumps(data)) |