Skip to content

Commit 163dda9

Browse files
committed
Switch hard requirement for ES
to be installed for enable-integration-testing to be an informational message. This may be a harder constraint again in the future.
1 parent d24f893 commit 163dda9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

contentctl/objects/config.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -656,10 +656,12 @@ def ensureEnterpriseSecurityForIntegrationTesting(self)->Self:
656656
if self.enterpriseSecurityInApps():
657657
return self
658658

659-
raise ValueError(f"enable_integration_testing is [{self.enable_integration_testing}], "
660-
f"but the Splunk Enterprise Security "
661-
f"App (uid: [{ENTERPRISE_SECURITY_UID}]) is not listed in apps. "
662-
f"Integration Testing MUST include Enterprise Security.")
659+
print(f"INFO: enable_integration_testing is [{self.enable_integration_testing}], "
660+
f"but the Splunk Enterprise Security "
661+
f"App (uid: [{ENTERPRISE_SECURITY_UID}]) is not listed in apps.\n"
662+
f"Integration Testing MUST include Enterprise Security.\n"
663+
f"Please note this message is only informational.")
664+
return self
663665

664666

665667

0 commit comments

Comments
 (0)