[Bug fix] Execute teardown if SLA is set to "assert" 75/59575/1
authorDimitrios Markou <mardim@intracom-telecom.com>
Wed, 4 Jul 2018 08:49:54 +0000 (11:49 +0300)
committerDimitrios Markou <mardim@intracom-telecom.com>
Fri, 6 Jul 2018 07:03:16 +0000 (07:03 +0000)
commit5821098118bb97ce9d1a302bb8f19b615ebb01cd
tree3a7a649b285636617f861f50e723fdf0cdfc2227
parenta99613376daa0656bcd0b24d9c56661ff15c8916
[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>
(cherry picked from commit 30fc9f545d526fdbd69af483b0bad0ea781d648c)
yardstick/benchmark/runners/duration.py