aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick
diff options
context:
space:
mode:
authorKubi <jean.gaoliang@huawei.com>2017-01-19 07:45:17 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-19 07:45:17 +0000
commitbe737586115f6a7a22ecdadc7fa3ba6636bacfed (patch)
tree7a86c42d2a5bf2b5aefc8fa2a52565f534b758c6 /yardstick
parentfd1d3c0504c5e5b153b78bd0d5bd8fe3f4bc37d4 (diff)
parent819939acfd20c1fb81f384258df9ef58d9233b93 (diff)
Merge "Bugfix: context not found for server ''node1.LF''"
Diffstat (limited to 'yardstick')
-rw-r--r--yardstick/benchmark/core/task.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yardstick/benchmark/core/task.py b/yardstick/benchmark/core/task.py
index d05117b47..6cfec7b13 100644
--- a/yardstick/benchmark/core/task.py
+++ b/yardstick/benchmark/core/task.py
@@ -294,7 +294,8 @@ class TaskParser(object): # pragma: no cover
change_server_name(scenario, name_suffix)
try:
- change_server_name(scenario['nodes'], name_suffix)
+ for node in scenario['nodes']:
+ scenario['nodes'][node] += name_suffix
except KeyError:
pass