aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/sfc_symmetric_chain.py
diff options
context:
space:
mode:
authorPanagiotis Karalis <pkaralis@intracom-telecom.com>2018-05-18 16:29:39 +0300
committerManuel Buil <mbuil@suse.com>2018-06-12 11:29:24 +0000
commit37d5bca7cc52709e89d434345560cfe1d90e2e52 (patch)
treed6c016789585451030c70cfc82c25384738d7394 /sfc/tests/functest/sfc_symmetric_chain.py
parent77dfb2e6eb0f3c872ec25cc6196d13b5ddfe0a3b (diff)
Rethink the clean up process
Using the '--nocleanup' parameter as part of command, the cleanup mechanism could be disable. Otherwise, the cleanup method is executed even if a exception has been raised. Change-Id: I9638369900f599793393feb5184c30b74f1b7c7e Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
Diffstat (limited to 'sfc/tests/functest/sfc_symmetric_chain.py')
-rw-r--r--sfc/tests/functest/sfc_symmetric_chain.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/sfc/tests/functest/sfc_symmetric_chain.py b/sfc/tests/functest/sfc_symmetric_chain.py
index 067854db..b1400a71 100644
--- a/sfc/tests/functest/sfc_symmetric_chain.py
+++ b/sfc/tests/functest/sfc_symmetric_chain.py
@@ -138,6 +138,14 @@ class SfcSymmetricChain(sfc_parent_function.SfcCommonTestCase):
if __name__ == 'sfc.tests.functest.sfc_symmetric_chain':
return results.compile_summary(), self.creators
+ def get_creators(self):
+ """Return the creators info, specially in case the info is not
+ returned due to an exception.
+
+ :return: creators
+ """
+ return self.creators
+
def wait_for_classification_rules(ovs_logger, compute_nodes,
server_compute, server_port,