summaryrefslogtreecommitdiffstats
path: root/tools/namespace.py
diff options
context:
space:
mode:
authorChristian Trautman <ctrautma@redhat.com>2016-08-09 16:06:07 -0400
committerChristian Trautman <ctrautma@redhat.com>2016-08-09 16:06:07 -0400
commitb6921bcb122d9f2f4b17afd78b7bf8b5bc228212 (patch)
treed540c8c5e83e7a123ad1a5e968217ac587a9492f /tools/namespace.py
parenta9e754b1050b17464d9e77a942068956d872894e (diff)
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>
Diffstat (limited to 'tools/namespace.py')
0 files changed, 0 insertions, 0 deletions