-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Avoid raising FlakyReplay to users when multiple bugs are found #4228
Comments
Your understanding is correct @carterbox. The hypothesis/hypothesis-python/src/hypothesis/core.py Lines 1095 to 1098 in aef3eca
So, it needs to be handled on the way out, for example by wrapping
I'm not sure if this is the best place though, and I'm afraid I don't have the bandwidth to follow this up at the moment... |
@Zac-HD I think the explanation is simpler, just missing handling of FlakyReplay at mark_interesting-time, per earlier comment. |
yeah this doesn't look related to exceptiongroups (and repro behaves the same pre-#4110). It indeed appears that |
I'm trying to track down the cause of a flaky test. However, sometimes the test fails with FlakyFailure and other times with FlakyReplay. These are both errors, but no reproduce_failure hash is provided when the error is FlakyReplay.
What is the difference between a FlakyReplay and a FlakyFailure?
Above is the relevant source code from hypothesis. My understanding is that FlakyReplay is "internal" which means it should not be shown to the user, so something is wrong if I am seeing this error in my logs as the final error? In my case, this error is raised when the status goes from INTERESTING to INTERESTING. (Is there documentation for the meaning of this status? Couldn't find any mention in the source.)
Why is reproduce_failure provided for one and not the other?
Is this because FlakyReplay is not intended to be raise to the user?
The text was updated successfully, but these errors were encountered: