Skip to content
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

[8.x] [Synthetics] Increase unit test coverage (#193201) #193214

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

## Summary

I frequently find when I go to modify code in Synthetics there is a lack
of good module-level coverage, which makes it challenging to confidently
change things directly, or tangential to untested code. This commonly
results in unintended regressions, or very high levels of manual
investigation during code review.

One way to get past this is to first introduce tests before modifying
the code in question, but that requires a lot of burden on the developer
trying to make the change.

We should instead find time to add additional module-level testing where
possible, and that is the spirit of this PR.

(cherry picked from commit a178d52)
@kibanamachine kibanamachine enabled auto-merge (squash) September 17, 2024 18:25
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-management Observability Management User Experience Team labels Sep 17, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @justinkambic

@kibanamachine kibanamachine merged commit dcd1cb6 into elastic:8.x Sep 17, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci:project-deploy-observability Create an Observability project Team:obs-ux-management Observability Management User Experience Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants