-
Notifications
You must be signed in to change notification settings - Fork 20
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
fix: remove-pytest_exception_interact hook #881
fix: remove-pytest_exception_interact hook #881
Conversation
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.
I'm trying to understand how this worked before, my impression is that just specifying an invalid token in the fixture was enough to fail some tests and then the assertion checked that this in fact happened. And I'm not clear on why now we need to poke the endpoint with a fake message to trigger the error. If we didn't do that before - where was the exception that satisfied the previous assertion coming from?
…m:splunk/pytest-splunk-addon into fix/remove-pytest_exception_interact-hook
Hey @kdoroszko-splunk , can you help me understand, how earlier it was breaking UI tests. Maybe we can get on a call if requried. |
Hello @harshilgajera-crest, So the root cause was that previous solution was to general.
|
🎉 This issue has been resolved in version 5.4.0-beta.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This PR reverts partially changes introduced in this PR:
7cc8880#diff-2699a131e5dfd55b20327a39ec213c806ee847e17b6666faf0a01fe850448f47L558
This change is necessary, since exiting pytest while getting
Exception
disturbed other tests (fr example UI test https://splunk.atlassian.net/browse/ADDON-72764). Instead of that HEC token is validated by ingesting simple event with it (implemented in this PR: #877).