From f5e459435c924e6bf00ca1bd5f215355345cb56c Mon Sep 17 00:00:00 2001 From: Ross Brattain Date: Thu, 1 Jun 2017 15:25:07 +0000 Subject: 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 --- docs/submodules/yardstick | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/submodules/yardstick') diff --git a/docs/submodules/yardstick b/docs/submodules/yardstick index 68fc8023c..28a97ee05 160000 --- a/docs/submodules/yardstick +++ b/docs/submodules/yardstick @@ -1 +1 @@ -Subproject commit 68fc8023c0018e8380d35540d31d410ae5c507f9 +Subproject commit 28a97ee05186295b7d71f449ac703bf78e5fd358 -- cgit 1.2.3-korg