From 1f28433c47529e122d7f8f7092ffb0219cde7c97 Mon Sep 17 00:00:00 2001 From: Lisa Li Date: Mon, 9 Jan 2017 09:09:36 +0800 Subject: [PATCH] Description is Null in generic scenario When length of test cases is bigger than 9, the description is null. This is fixed in this patch. Signed-off-by: Lisa Li --- benchmarking/mod/generic/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarking/mod/generic/generic.py b/benchmarking/mod/generic/generic.py index 82bcc02..92d7b37 100644 --- a/benchmarking/mod/generic/generic.py +++ b/benchmarking/mod/generic/generic.py @@ -205,7 +205,7 @@ def parse_benchmark_cases(self, testcase): "block_size":p[3], "qd":p[4], "rampup":p[5], "runtime":p[6], "vdisk":p[7] } - if len(p) == 9: + if len(p) >= 9: testcase_dict["description"] = p[8] else: testcase_dict["description"] = ""