diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2023-01-16 15:17:01 +0000 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2023-03-15 10:18:22 +0000 |
commit | d6d052a5f1ce0ae0f0debcbb11220fce1c1dfdc5 (patch) | |
tree | 13c6f43901458af1e66c1e149e43c324f2e19043 /src/onaptests/configuration | |
parent | ef50809c847aca4a198c89fb846eb44046036032 (diff) |
Add cleanup to sdc resources ondboarding step
Delete SDC resources on cleanup
Bump onapsdk requirements to 10.4.2
Issue-ID: INT-2193
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Id9e51f07a9c91a02b67a87eb897a2a4d19fa6738
Diffstat (limited to 'src/onaptests/configuration')
-rw-r--r-- | src/onaptests/configuration/basic_onboard_settings.py | 5 | ||||
-rw-r--r-- | src/onaptests/configuration/settings.py | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/onaptests/configuration/basic_onboard_settings.py b/src/onaptests/configuration/basic_onboard_settings.py index 8975fa8..de8d95c 100644 --- a/src/onaptests/configuration/basic_onboard_settings.py +++ b/src/onaptests/configuration/basic_onboard_settings.py @@ -63,7 +63,6 @@ except (FileNotFoundError, ValueError): #CLEANUP_ACTIVITY_TIMER = 10 # nb of seconds before cleanup in case cleanup option is set VENDOR_NAME = "basic_onboard_vendor" -VF_NAME = "basic_onboard_vf" -VSP_NAME = "basic_onboard_vsp" - MODEL_YAML_TEMPLATE = None +CLEANUP_FLAG = True +SDC_CLEANUP = True diff --git a/src/onaptests/configuration/settings.py b/src/onaptests/configuration/settings.py index e6f894d..482be9e 100644 --- a/src/onaptests/configuration/settings.py +++ b/src/onaptests/configuration/settings.py @@ -38,6 +38,10 @@ LOG_CONFIG = { } } CLEANUP_FLAG = False +# Additional flag to enable SDC resources cleanup +# Added as SDC's VSP deletion is broken and most tests fail due to that +# Should be removed as soon as SDC resource deletion is fixed +SDC_CLEANUP = False REPORTING_FILE_PATH = "/tmp/reporting.html" K8S_REGION_TYPE = "k8s" |