From 54803e59a08d09bbb34cb686740f41b1e7bc3684 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Wed, 4 Aug 2021 08:35:09 +0000 Subject: [TEST] Do not create simulators in "onap" namespace As described in ticket - that resource shouldn't be created in onap namespace because if it's not properly deleted it has impact on the security tests results. Note: That change doesn't require any additional work in lab preparation - the namespace is going to be created by MSB K8S plugin. Issue-ID: TEST-356 Signed-off-by: Michal Jagiello Change-Id: I0acf6262e3c8c9fbe9113d96e62960ce36ece04c --- src/onaptests/steps/instantiate/vl_ala_carte.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/onaptests/steps/instantiate/vl_ala_carte.py') diff --git a/src/onaptests/steps/instantiate/vl_ala_carte.py b/src/onaptests/steps/instantiate/vl_ala_carte.py index 158e437..3f81228 100644 --- a/src/onaptests/steps/instantiate/vl_ala_carte.py +++ b/src/onaptests/steps/instantiate/vl_ala_carte.py @@ -157,7 +157,7 @@ class YamlTemplateVlAlaCarteInstantiateStep(YamlTemplateBaseStep): Raises: Exception: VL cleaning failed """ - if settings.CLEANUP_FLAG: + if self._cleanup: for net_instance in self._service_instance.network_instances: self._logger.info("Start network deletion %s",net_instance.name) net_deletion = net_instance.delete(a_la_carte=True) -- cgit 1.2.3-korg