aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-01-18 07:07:55 +0000
committerqi liang <liangqi1@huawei.com>2016-01-18 07:25:40 +0000
commit9595f47c912430ab7cb1ca7071f84b73ad21d46a (patch)
tree799fda63e0651449e7b6a27519cbb42fa78fd0dd
parentda59f43155646b1f625a00ec88d21e022d0f3b26 (diff)
HttpDispatcher case_name value update
See details on https://etherpad.opnfv.org/p/yardstick_release_b_troubleshooting section Questions 6.1 Change-Id: I72268c827a2321859c405f45b7e1e475c0ffb4a0 Signed-off-by: QiLiang <liangqi1@huawei.com> (cherry picked from commit 625a6dac381a35a0c12cab0cfd21146844778aaa)
-rw-r--r--yardstick/dispatcher/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/dispatcher/http.py b/yardstick/dispatcher/http.py
index de29588e2..90238adf3 100644
--- a/yardstick/dispatcher/http.py
+++ b/yardstick/dispatcher/http.py
@@ -69,7 +69,7 @@ class HttpDispatcher(DispatchBase):
case_name = ""
for v in self.raw_result:
if isinstance(v, dict) and "scenario_cfg" in v:
- case_name = v["scenario_cfg"]["type"]
+ case_name = v["scenario_cfg"]["tc"]
break
if case_name == "":
LOG.error('Test result : %s' % json.dumps(self.result))