test(integ-test): gate optional integration environments - #5731
test(integ-test): gate optional integration environments#5731mengweieric wants to merge 1 commit into
Conversation
Detect Security, geospatial, telemetry, and remote-cluster capabilities at runtime so plain external-cluster runs skip unavailable environments while dedicated test tasks continue to execute them. Signed-off-by: Eric Wei <menwe@amazon.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Summary
Plain external-cluster integration runs do not always include the Security, geospatial, telemetry, or remote-cluster environments required by their dedicated test suites. Those suites currently fail during setup instead of reporting that the dependency is unavailable.
This change detects optional plugins through
_cat/pluginsand skips only when the required component is absent. Cross-cluster tests similarly skip when no remote cluster is configured. Dedicated environments continue to run the tests unchanged.No production behavior is modified.
Validation
spotlessCheck,compileTestJava, andgit diff --checkpass