From: Lukasz Rajewski Date: Wed, 21 Feb 2024 19:17:58 +0000 (+0100) Subject: Remove SDNC DB interaction outside the cluster X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F43%2F137343%2F1;p=testsuite%2Fpythonsdk-tests.git Remove SDNC DB interaction outside the cluster Remove SDNC DB interaction outside the cluster Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski Change-Id: I3cb45ef4ec05dad96fac87c2d63f8db925047d76 --- 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: