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

chore: add eval tests for threshold rule #5398

Merged
merged 9 commits into from
Aug 9, 2024
Merged

chore: add eval tests for threshold rule #5398

merged 9 commits into from
Aug 9, 2024

Conversation

srikanthccv
Copy link
Member

@srikanthccv srikanthccv commented Jul 1, 2024

Summary

Builds on top of #5396

Adds a test to ensure the alert conditions work. There are already existing tests but they don't take units into account. This uses the mock to test the Eval function on the rule.

@srikanthccv srikanthccv changed the title chore: remove rules dependency in CH reader chore: add eval tests for threshold rule Jul 1, 2024
@github-actions github-actions bot added the chore label Jul 1, 2024
Base automatically changed from move-rules-getting to develop July 2, 2024 06:33
@srikanthccv srikanthccv marked this pull request as ready for review August 9, 2024 06:32
@srikanthccv srikanthccv merged commit 06c0754 into develop Aug 9, 2024
11 of 12 checks passed
@srikanthccv srikanthccv deleted the rule-tests branch August 9, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants