-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[chore] Force require.EventuallyWithT to fail properly #35032
Conversation
I'm not sure this should be merged until we have a more wholistic understanding of the failures mentioned here. |
I agree @djaglowski - Unfortunately, after that initial series of failures that I mentioned in the comment that you linked, the failures went away without any clear action on my part. Reviewing the code I detected a small thing that should be changed as precaution: if the first run of the tests fails without running the deferred code, the second run will fail on the registry entry already being present so no second run. I'm not convinced that it is a real problem in practice, but, let me clear that in quick PR and afterwards I will monitor the failures to see if we can get a better grip on what is going on with these tests. |
Created #35168 to handle the comment above. |
This change still appears to surface a failure:
I think this is legitimate because #35026 fails as well, but in a less clear way because the actual failure is ignored. |
@djaglowski let's merge this one and observe on the CI runs. One thing that I also want to do is to remove the single |
To remove |
…telemetry#35032)" This reverts commit 466b86e.
…y#35032) I noticed on open-telemetry#34720 and open-telemetry#35026 that execution of the test continued beyond a failure of `require.EventuallyWithT`. Based on the description alone, I would expect that using `assert` within `require.EventuallyWithT` should cause execution to stop if the assertion fails, but it appears this may not be the case. However, this change apparently works as intended.
I noticed on #34720 and #35026 that execution of the test continued beyond a failure of
require.EventuallyWithT
. Based on the description alone, I would expect that usingassert
withinrequire.EventuallyWithT
should cause execution to stop if the assertion fails, but it appears this may not be the case. However, this change apparently works as intended.