aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/configuration
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-03-24 15:38:53 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2023-03-29 07:01:44 +0000
commit6f184d09e0670feaa2817dbbe85a42c6bd880578 (patch)
tree85eaf8b3f72d2e644cd3bacf40cc7c0addc84f7d /src/onaptests/configuration
parent066e6c39c2a5133f89d1f00f25a247f7ce402f10 (diff)
Test pnf_macro fix
Configure and check service distribuiton for 30 minutes Issue-ID: INT-2193 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I316a3e5c179530ba92c87c43795643e9faf30048
Diffstat (limited to 'src/onaptests/configuration')
-rw-r--r--src/onaptests/configuration/pnf_macro_settings.py1
-rw-r--r--src/onaptests/configuration/settings.py4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/onaptests/configuration/pnf_macro_settings.py b/src/onaptests/configuration/pnf_macro_settings.py
index a315525..da4e25c 100644
--- a/src/onaptests/configuration/pnf_macro_settings.py
+++ b/src/onaptests/configuration/pnf_macro_settings.py
@@ -48,3 +48,4 @@ PNF_REGISTRATION_NUMBER_OF_TRIES = 20
# Disable YAML SDC model definition which means all SDC config reside in SERVICE_YAML_TEMPLATE
MODEL_YAML_TEMPLATE = None
+SDC_CLEANUP = True
diff --git a/src/onaptests/configuration/settings.py b/src/onaptests/configuration/settings.py
index 482be9e..3ca9af9 100644
--- a/src/onaptests/configuration/settings.py
+++ b/src/onaptests/configuration/settings.py
@@ -41,7 +41,7 @@ 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
+SDC_CLEANUP = True
REPORTING_FILE_PATH = "/tmp/reporting.html"
K8S_REGION_TYPE = "k8s"
@@ -52,3 +52,5 @@ K8S_ADDITIONAL_RESOURCES_NAMESPACE = K8S_ONAP_NAMESPACE # Resources created on
#SOCK_HTTP = "socks5h://127.0.0.1:8091"
ORCHESTRATION_REQUEST_TIMEOUT = 60.0 * 15 # 15 minutes in seconds
+SERVICE_DISTRIBUTION_NUMBER_OF_TRIES = 30
+SERVICE_DISTRIBUTION_SLEEP_TIME = 60