-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
leak detection overwrites test error (OR: subsequent errors can clobber prior in report?) #2971
Labels
type: bug
a defect, confirmed by a maintainer
Comments
ScottFreeCode
changed the title
leak detection overwrites test error
leak detection overwrites test error (OR: subsequent errors can clobber prior in report?)
Nov 7, 2017
This is probably just a specific case of a general issue with errors overwriting prior errors, see e.g. the way "second" is reported twice instead of "first" and "second" in #2906. |
This issue was fixed with #4033.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run this test file with
--check-leaks
:You should get one error "And also fail the test" and another "Error: global leak detected: leaky" (or perhaps, if not both, then only one or the other). Instead you get two of the latter.
I'd guess that the error property on the failed test is being overwritten and an extra fail event emitted for that test, instead of generating a fail event associated with the test but with its own error property.
The text was updated successfully, but these errors were encountered: