aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2024-02-21 20:17:58 +0100
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2024-02-21 20:17:58 +0100
commit1a3dccf17efeffb10466ed0ad2e1895cbd859920 (patch)
tree308f0078ff99b8247afa505e9f8ab6b8b7b64813
parentcb8b6eaadc25834091bf020b0c6d50907780cca5 (diff)
Remove SDNC DB interaction outside the cluster
Remove SDNC DB interaction outside the cluster Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I3cb45ef4ec05dad96fac87c2d63f8db925047d76
-rw-r--r--src/onaptests/steps/instantiate/sdnc_service.py3
-rw-r--r--src/onaptests/steps/onboard/service.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/onaptests/steps/instantiate/sdnc_service.py b/src/onaptests/steps/instantiate/sdnc_service.py
index 9dce7e9..7896d98 100644
--- a/src/onaptests/steps/instantiate/sdnc_service.py
+++ b/src/onaptests/steps/instantiate/sdnc_service.py
@@ -327,7 +327,8 @@ class TestSdncStep(BaseScenarioStep):
- GetSdncPreloadStep
"""
super().__init__(cleanup=BaseStep.HAS_NO_CLEANUP)
- self.add_step(CheckSdncDbStep())
+ if settings.IN_CLUSTER:
+ self.add_step(CheckSdncDbStep())
self.add_step(CheckSdncHealthStep())
if full:
self.add_step(UpdateSdncService())
diff --git a/src/onaptests/steps/onboard/service.py b/src/onaptests/steps/onboard/service.py
index f4761ff..b482cff 100644
--- a/src/onaptests/steps/onboard/service.py
+++ b/src/onaptests/steps/onboard/service.py
@@ -205,8 +205,8 @@ class VerifyServiceDistributionStep(BaseScenarioStep):
notified_module=notified_module))
if settings.IN_CLUSTER:
self.add_step(VerifyServiceDistributionInSoStep())
+ self.add_step(VerifyServiceDistributionInSdncStep())
self.add_step(VerifyServiceDistributionInAaiStep())
- self.add_step(VerifyServiceDistributionInSdncStep())
@property
def description(self) -> str: