summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2016-08-12 12:55:29 +0800
committerJingLu5 <lvjing5@huawei.com>2016-08-12 12:55:29 +0800
commit2dda8c5e98126ab650ea7da9decc10f4e2efa858 (patch)
tree49a61cec45814b91ab751796e90bfa2971df2776 /tests/unit
parent6b81ccde0937d37733da8ce5105c7832e5537c2c (diff)
BugFix: modify storagecapacity output format for result visualization in grafana dashboard
Change-Id: I255586efb0d1e25d7505838693d90a40282249b4 Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/benchmark/scenarios/storage/test_storagecapacity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/benchmark/scenarios/storage/test_storagecapacity.py b/tests/unit/benchmark/scenarios/storage/test_storagecapacity.py
index cad5ba1d1..ace0ca374 100644
--- a/tests/unit/benchmark/scenarios/storage/test_storagecapacity.py
+++ b/tests/unit/benchmark/scenarios/storage/test_storagecapacity.py
@@ -18,7 +18,7 @@ import json
from yardstick.benchmark.scenarios.storage import storagecapacity
-DISK_SIZE_SAMPLE_OUTPUT = '{"Numberf of devides": "2", "Total disk size": "1024000000 bytes"}'
+DISK_SIZE_SAMPLE_OUTPUT = '{"Numberf of devides": "2", "Total disk size in bytes": "1024000000"}'
BLOCK_SIZE_SAMPLE_OUTPUT = '{"/dev/sda": 1024, "/dev/sdb": 4096}'
DISK_UTIL_RAW_OUTPUT = "vda 10.00\nvda 0.00"
DISK_UTIL_SAMPLE_OUTPUT = '{"vda": {"avg_util": 5.0, "max_util": 10.0, "min_util": 0.0}}'