-
Notifications
You must be signed in to change notification settings - Fork 129
[System tests] Extract function to create all kibana policies required #2881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| } | ||
|
|
||
| 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 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unused dataStream parameter
| } | ||
|
|
||
| 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 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed unused ds parameter.
|
test integrations |
|
Created or updated PR in integrations repository to test this version. Check elastic/integrations#15252 |
|
Setting this PR as draft to double check about the policies returned by the new function. |
|
test integrations |
|
Created or updated PR in integrations repository to test this version. Check elastic/integrations#15252 |
💚 Build Succeeded
History
cc @mrodm |
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.