-
Notifications
You must be signed in to change notification settings - Fork 16
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
refactor: Fix alert rules for failed collector. #121
refactor: Fix alert rules for failed collector. #121
Conversation
48f5943
to
0f66ae1
Compare
func tests for juju 2.9/focal were failing. This was because the asyncio marker was not added to the tests. This change adds the markers automatically to all the tests by setting `pytestmark`.
0f66ae1
to
36be586
Compare
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.
need informations
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.
Overall, it's good to me. Please add the comment suggested from Robert.
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.
LGTM. Just need to remove the line which provide pytest-asyncio fix.
Not related to this PR, are we actually performing the lint test of the alert rules? |
If you mean running |
Update: Functional tests are green, looks good to merge! |
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.
LGTM
Relates to canonical/prometheus-hardware-exporter#54