diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-06-01 15:25:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-06-01 15:25:07 +0000 |
commit | f5e459435c924e6bf00ca1bd5f215355345cb56c (patch) | |
tree | b52e2aebd7058fb4e2d4ca52b1f5ec9e6f6cffe2 /docs/how-to-use-docs/Submodules.jpg | |
parent | 674b20803ce747b19cdab7e7dcb19c5875b8ccdc (diff) |
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Bugfix: AttributeError when run tc055"
- Bugfix: AttributeError when run tc055
JIRA: YARDSTICK-662
When I run tc055, I got an error, see log:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in
_bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114,
in run
self._target(*self._args, **self._kwargs)
File
"/usr/local/lib/python2.7/dist-packages/yardstick/benchmark/runners/iteration.py",
line 46, in _worker_process
initial_rate = options_cfg.get("rate", 100)
AttributeError: 'NoneType' object has no attribute 'get'
This is because in the former patch, we get 'options' by scenario_cfg['options'], it is
unsafe since some test case do not have 'options' field. For tc055, 'options' is None.
Change-Id: I18a4a7954c18c609f422da403fe65c4739c93648
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'docs/how-to-use-docs/Submodules.jpg')
0 files changed, 0 insertions, 0 deletions