[System tests] Extract function to create all kibana policies required#2881
Merged
mrodm merged 3 commits intoelastic:mainfrom Sep 11, 2025
Merged
[System tests] Extract function to create all kibana policies required#2881mrodm merged 3 commits intoelastic:mainfrom
mrodm merged 3 commits intoelastic:mainfrom
Conversation
mrodm
commented
Sep 9, 2025
| } | ||
|
|
||
| func (r *tester) checkDeprecationWarnings(stackVersion *semver.Version, dataStream string, warnings []deprecationWarning, configName string) []testrunner.TestResult { | ||
| func (r *tester) checkDeprecationWarnings(stackVersion *semver.Version, warnings []deprecationWarning, configName string) []testrunner.TestResult { |
Contributor
Author
There was a problem hiding this comment.
Remove unused dataStream parameter
mrodm
commented
Sep 9, 2025
| } | ||
|
|
||
| func (r *tester) checkTransforms(ctx context.Context, config *testConfig, pkgManifest *packages.PackageManifest, ds kibana.PackageDataStream, dataStream string, syntheticEnabled bool) error { | ||
| func (r *tester) checkTransforms(ctx context.Context, config *testConfig, pkgManifest *packages.PackageManifest, dataStream string, syntheticEnabled bool) error { |
Contributor
Author
There was a problem hiding this comment.
Removed unused ds parameter.
Contributor
Author
|
test integrations |
|
Created or updated PR in integrations repository to test this version. Check elastic/integrations#15252 |
Contributor
Author
|
Setting this PR as draft to double check about the policies returned by the new function. |
Contributor
Author
|
test integrations |
|
Created or updated PR in integrations repository to test this version. Check elastic/integrations#15252 |
Collaborator
💚 Build Succeeded
History
cc @mrodm |
jsoriano
approved these changes
Sep 11, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR creates a new function to create all required Kibana Policies for system tests:
This new function also creates the required handlers to delete these Kibana Policies.