[Bug fix] Execute teardown if SLA is set to "assert" 41/59541/2
authorDimitrios Markou <mardim@intracom-telecom.com>
Wed, 4 Jul 2018 08:49:54 +0000 (11:49 +0300)
committerDimitrios Markou <mardim@intracom-telecom.com>
Thu, 5 Jul 2018 13:33:37 +0000 (16:33 +0300)
commit30fc9f545d526fdbd69af483b0bad0ea781d648c
treeda1003ca1753fde77c948f50f0c062bb8e0acd00
parent6baba08bb155baac3563f839d57e7db3664db892
[Bug fix] Execute teardown if SLA is set to "assert"

In Duration runner if SLA is set to "assert" and a SLAValidationError
happens then a teardown is needed to avoid garbages in the environment.

JIRA: YARDSTICK-1291

Change-Id: I9056b0da3e7e496171ed42430ffc340b5c68f108
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
yardstick/benchmark/runners/duration.py