aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/storage/storperf.py
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-07-11 02:34:41 +0000
committerJingLu5 <lvjing5@huawei.com>2017-07-17 07:17:58 +0000
commit8ffbb26f5150f2ecdce44100c126cf6c183933cd (patch)
tree93e57a22f7fe5b8e165bb02b4728cac4ec27813f /yardstick/benchmark/scenarios/storage/storperf.py
parent7ee54db221fbb4173de011585a425f0750dd6ccf (diff)
Open storperf testcase to huawei-pod2
JIRA: YARDSTICK-712 Change-Id: If91c936a3a59580a987cb6762db5d063edf6c9d7 Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'yardstick/benchmark/scenarios/storage/storperf.py')
-rw-r--r--yardstick/benchmark/scenarios/storage/storperf.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/yardstick/benchmark/scenarios/storage/storperf.py b/yardstick/benchmark/scenarios/storage/storperf.py
index c10118ad1..f0b2361d6 100644
--- a/yardstick/benchmark/scenarios/storage/storperf.py
+++ b/yardstick/benchmark/scenarios/storage/storperf.py
@@ -87,8 +87,9 @@ class StorPerf(base.Scenario):
def setup(self):
"""Set the configuration."""
env_args = {}
- env_args_payload_list = ["agent_count", "public_network",
- "agent_image", "volume_size"]
+ env_args_payload_list = ["agent_count", "agent_flavor",
+ "public_network", "agent_image",
+ "volume_size"]
for env_argument in env_args_payload_list:
try:
@@ -206,7 +207,7 @@ class StorPerf(base.Scenario):
# terminate_res = requests.delete('http://%s:5000/api/v1.0
# /jobs' % self.target)
# else:
- # time.sleep(int(est_time)/2)
+ # time.sleep(int(esti_time)/2)
result_res = requests.get('http://%s:5000/api/v1.0/jobs?id=%s' %
(self.target, job_id))