Bugfix: netperf_bottleneck execute failed because is_same_heat_context return True 11/31111/1
authorchenjiankun <chenjiankun1@huawei.com>
Mon, 20 Mar 2017 10:31:40 +0000 (10:31 +0000)
committerJack Chan <chenjiankun1@huawei.com>
Tue, 21 Mar 2017 01:09:49 +0000 (01:09 +0000)
JIRA: YARDSTICK-600

Bugfix: netperf_bottleneck execute failed because is_same_heat_context return True
So it exit without warning.
I will remove the 'return True' from it.

Change-Id: I48d62bd15ec359e2121f236c48d9d349174f2c10
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
yardstick/benchmark/core/task.py

index 2794d84..47315b5 100644 (file)
@@ -220,7 +220,6 @@ class Task(object):     # pragma: no cover
         target_attr: either a name for a server created by yardstick or a dict
         with attribute name mapping when using external heat templates
         """
-        return True
         host = None
         target = None
         for context in self.contexts: