summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRex Lee <limingjiang@huawei.com>2018-11-30 01:39:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-11-30 01:39:10 +0000
commitb086ecc10ad344b2e8c80be8881cd20ab2c2a7c4 (patch)
tree8ddbcceddbf6c6bb6243756bd771548be54e9107
parent3213053ef2afb9abdeefc8504085e35894f7c5e2 (diff)
parentc06dd21f8aea56ab7c299bdb1ef1487a3f75572e (diff)
Merge "Run testcase 074 result overridden by job status" into stable/gambia
-rw-r--r--yardstick/benchmark/scenarios/storage/storperf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yardstick/benchmark/scenarios/storage/storperf.py b/yardstick/benchmark/scenarios/storage/storperf.py
index 7c8e5fe66..5b8b00075 100644
--- a/yardstick/benchmark/scenarios/storage/storperf.py
+++ b/yardstick/benchmark/scenarios/storage/storperf.py
@@ -227,8 +227,8 @@ class StorPerf(base.Scenario):
LOG.info("Job %s completed with steady state %s",
job_id, steady_state)
- result_res = requests.get('http://%s:5000/api/v1.0/jobs?'
- 'type=status&id=%s' % (self.target, job_id))
+ result_res = requests.get('http://%s:5000/api/v1.0/jobs?id=%s' %
+ (self.target, job_id))
result_res_content = jsonutils.loads(
result_res.content)
result.update(result_res_content)