-
Notifications
You must be signed in to change notification settings - Fork 247
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
tests: adding group and importance markers #6902
Conversation
6ad02be
to
898df05
Compare
Please do not add these to high/critical: As for test_autofs__propagate_offline__single_domain, it just blocks ldap port but does nothing about other AD ports and it does not look correct to me as it is for AD provider. I would generally not consider tests for backends offline as critical apart from some specific ones. (like caching works when the backend goes offline). The critical set should contain only the most important tests (smoke tests) to represent the the important features. |
@jakub-vavra-cz Ack, removed from critical/high and moved to medium/low. |
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.
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.
@jakub-vavra-cz we need to create some guidance how to assign the importance level and how does it map to downstream test execution. Can you update https://tests.sssd.io/en/latest/marks.html#pytest-mark-tier?
From my point of view, if there is a failure, we can not release new version. So every test counts. In this sense, every test is critical. So having guidance and use case documented would help a lot.
@sidecontrol I agree with the markers, but not with the documentation. It needs to be clearly documented how we want to use them - like schema and cache for example. pytest.ini is only suitable for short description, https://tests.sssd.io/en/latest/marks.html#additional-markers is a good place for a thorough guidance. If you agree, I think we should add comment to pytest.ini |
@pbrezina Yup, I'll create another pull request with the doc explaining the markers. |
I marked this as blocked, because I think that we need the documentation first. Because until we have documentation, there will still be new tests that may miss this and you will need to update them here. |
doc update. |
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.
Thanks for your contribution. I approve.
No description provided.