Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
Description is Null in generic scenario
Browse files Browse the repository at this point in the history
When length of test cases is bigger than 9, the description is null.
This is fixed in this patch.

Signed-off-by: Lisa Li <[email protected]>
  • Loading branch information
lixiaoy1 committed Jan 9, 2017
1 parent b67c6eb commit 1f28433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarking/mod/generic/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"] = ""
Expand Down

0 comments on commit 1f28433

Please sign in to comment.