-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
mgr/dashboard: add pytest plugin: faulthandler #25053
Conversation
- Plugin for pytest that automatically enables the faulthandler module during tests. - Very useful when you run tests and face segmentation faults. Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Can you give an example on what kind of "segmentation faults" you're referring to here? A crash of the mgr process? |
Without plugin: ============================================================================================================================== test session starts =============================================================================================================================== With plugin: ============================================================================================================================== test session starts =============================================================================================================================== Fatal Python error: Segmentation fault Current thread 0x00007fd9e0b7e740 <py.test> (most recent call first): |
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 the info. Makes sense to me!
it's SAML-Toolkits/python-saml#30
|
Signed-off-by: Alfonso Martínez almartin@redhat.com