-
Notifications
You must be signed in to change notification settings - Fork 29.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
test: improve async hooks test error messages #13243
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.
Rubber stamp LGTM
From a partial scan I agree with 97% of removals. |
Sounds good, but maybe a little bit more lax, like if it's more than |
I wouldn’t agree.
Sure, this isn’t urgent. |
ping @refack ... have you had a chance to review yet? |
halfway there. |
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.
Changes look good. Thanks for the cleanup.
Improve error messages in the async hooks tests, mostly by removing unhelpful `message` parameters for assertions.
e76c106
to
acbdc64
Compare
Rebased. @refack I think the “a day or two before landing” have passed by now, are you okay with reviewing this later and fixing up anything you’d like to see addressed yourself? |
Yep. |
Landed in 1dc3272 |
Improve error messages in the async hooks tests, mostly by removing unhelpful `message` parameters for assertions. PR-URL: #13243 Reviewed-By: Kunal Pathak <[email protected]> Reviewed-By: Andreas Madsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trevor Norris <[email protected]>
Improve error messages in the async hooks tests, mostly by removing unhelpful `message` parameters for assertions. PR-URL: #13243 Reviewed-By: Kunal Pathak <[email protected]> Reviewed-By: Andreas Madsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trevor Norris <[email protected]>
Improve error messages in the async hooks tests, mostly by removing
unhelpful
message
parameters for assertions.(@Trott, maybe we could have a lint rule that forbids literals as messages if this PR is somewhat well-received?)
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test/async_hooks