Updated armband
authorMaryam Tahhan <maryam.tahhan@intel.com>
Wed, 10 Aug 2016 12:21:27 +0000 (12:21 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Wed, 10 Aug 2016 12:21:27 +0000 (12:21 +0000)
commitdf6c3a66564a21fa0ee44bc26d4bf555df2ce531
tree18467f874148c7e181f0900e459dbda8ff567698
parent436c96bf5301ad66d430d761e0a558ebb4db3507
Updated armband
Project: vswitchperf  612090b0009574d02cf21a4fe41f036d0694b1b1

integration_cleanup: Force testcase cleanup to always run

During testcase development on the integration side, if
namespaces are used or veth ports and an exception is raised.
The namespaces and veth ports are not properly cleanup up
because the run_finalize does not get executed.

This patch wraps the testing block in a try block where
a finally will ALWAYS execute the run_finalize thus
preventing the possiblity of leftover testing artifacts.

JIRA: VSPERF-328

Change-Id: I4ea5f29a48b9171f330847f34b5b30ef3ab22f27
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
upstream/vswitchperf