aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/instantiate/sdnc_service.py
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 /src/onaptests/steps/instantiate/sdnc_service.py
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
Diffstat (limited to 'src/onaptests/steps/instantiate/sdnc_service.py')
-rw-r--r--src/onaptests/steps/instantiate/sdnc_service.py3
1 files changed, 2 insertions, 1 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())