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

ref(alerts): Beef up dynamic rule update test #78284

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

ceorourke
Copy link
Member

An offshoot of #78143, specifically called out here: https://github.com/getsentry/sentry/pull/78143/files#r1775927994

Initially I thought this value was being overwritten but after adding assertions to the test I found it was actually just missing passing the detection type in the test. I added assertions to each of the update changes in the test to make sure it's updating as expected and removed the unused time_window param from the update parts that aren't modifying the tiem window.

@ceorourke ceorourke requested a review from a team as a code owner September 27, 2024 20:06
Copy link
Member

@schew2381 schew2381 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@ceorourke ceorourke merged commit 76da85c into master Sep 27, 2024
48 checks passed
@ceorourke ceorourke deleted the ceorourke/anomaly-detection-update-test branch September 27, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants