diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2024-02-16 11:35:32 +0100 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2024-02-16 14:36:36 +0100 |
commit | cb8b6eaadc25834091bf020b0c6d50907780cca5 (patch) | |
tree | 8e05a49ffb3536e73762950ba738512a9d32861e /src/onaptests/steps/onboard/service.py | |
parent | 1d528a2481de5739cf710f57af2a8d36f9cd33b8 (diff) |
Do not verify SO onboarding if test is not running inside cluster
Fix bug with invalid base class for one of instantiation step
Issue-ID: TEST-404
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ife972dbf9954b130c37562cb0c293b0e1da86133
Diffstat (limited to 'src/onaptests/steps/onboard/service.py')
-rw-r--r-- | src/onaptests/steps/onboard/service.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/onaptests/steps/onboard/service.py b/src/onaptests/steps/onboard/service.py index 77456ff..f4761ff 100644 --- a/src/onaptests/steps/onboard/service.py +++ b/src/onaptests/steps/onboard/service.py @@ -203,7 +203,8 @@ class VerifyServiceDistributionStep(BaseScenarioStep): for notified_module in settings.SDC_SERVICE_DISTRIBUTION_COMPONENTS: self.add_step(VerifyServiceDistributionStatusStep( notified_module=notified_module)) - self.add_step(VerifyServiceDistributionInSoStep()) + if settings.IN_CLUSTER: + self.add_step(VerifyServiceDistributionInSoStep()) self.add_step(VerifyServiceDistributionInAaiStep()) self.add_step(VerifyServiceDistributionInSdncStep()) |