Bugfix: cannot run task if without yardstick.conf in danube 55/38955/2
authorchenjiankun <chenjiankun1@huawei.com>
Wed, 9 Aug 2017 04:04:20 +0000 (04:04 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Wed, 9 Aug 2017 10:08:53 +0000 (10:08 +0000)
commit9f303274516e43db97d065b9c6a9ac3980a2c0ce
tree4de39ef056b0eff7b4123f54b4870524f8f29e93
parent795438d0766a0c1bd7480c68f3234434019e6917
Bugfix: cannot run task if without yardstick.conf in danube

JIRA: YARDSTICK-776

In danube.0.3.0, if we do not have yardstick.conf and then run task directly,
we will get a RuntimeError, so yardstick.conf is must. This is not reasonable.
In this patch, I fix it. So we can run it without yardstick.conf

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