forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow rest tests with Serverless API protections
This commit changes the `ESRestTestCase` in 3 ways - Refactor the "hasXYZ" flags into a single `EnumSet` of `ProductFeature` flags - Detect serverless distributions, and in those cases treat certain features as unavailable (even if the plugin is installed) - Add a few more feature checks for features that can now be disabled It also changes `ESClientYamlSuiteTestCase` to register a composable global template if legacy templates are unavailable Relates: elastic#98250, elastic#98373
- Loading branch information
Showing
2 changed files
with
101 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters