diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-05-22 01:08:39 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-06-20 13:20:47 +0000 |
commit | eb142a953a59f447f1c186d2f58004fe354e4c4b (patch) | |
tree | 18e7702543410b9c19de31b8810a1afaec854794 /ansible/numa_pin_teardown.yaml | |
parent | 5c8e38667e17059db1c62dd21f868966a6b2a519 (diff) |
ping: don't split if target_vm is a dict
If we run sample/ping-hot.yaml, it will encounter an AttributeError, log
see below:
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/yardstick/benchmark/runners/duration.py",
line 69, in _worker_process
method(data)
File
"/usr/local/lib/python2.7/dist-packages/yardstick/benchmark/scenarios/networking/ping.py",
line 94, in run
target_vm_name = target_vm.split('.')[0]
AttributeError: 'dict' object has no attribute 'split'
Because here host and target will be a dict
JIRA: YARDSTICK-561
Change-Id: I4b7628bf20050d6d516a80efe3785f750d27c05e
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'ansible/numa_pin_teardown.yaml')
0 files changed, 0 insertions, 0 deletions