-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Add test coverage for package policy variable overrides #113270
[Fleet] Add test coverage for package policy variable overrides #113270
Conversation
Pinging @elastic/fleet (Team:Fleet) |
Jest warned me about some obsolete snapshots in the Fleet project as well, so I had it clean those up. If that causes issues in CI/CD I'll revert those deletions. |
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.
🚀
@elasticmachine merge upstream |
@kpollich Looks like the CI needed these snapshots |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: cc @kpollich |
💔 Backport failed
Successful backport PRs will be merged automatically after passing CI. To backport manually run: |
# Conflicts: # x-pack/plugins/fleet/server/services/package_policy.test.ts
Hi @kpollich Can you please share more details with us on how to validate above PR. Thanks |
Summary
Resolves #113248
Add some baseline test coverage for
overridePackageInputs
method that ensures our variable override logic works correctly. I verified the test's usefulness by reverting @jen-huang's change in #113204 and ensuring that the test failed.