-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
testutil: use TestingTB instead of testing.TB #8647
testutil: use TestingTB instead of testing.TB #8647
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.
LGTM thanks for the PR
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 looked at the CI results and the build failures are not flakes. Looks like one func needs removing from the TestingTB interface.
@mkeeler I've fixed a lint issue, but now the integration envoy tests appear to be failing with an error to fetch the alpine container. I don't think it is related to my changes. |
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.
Thank you for making this change! I've left one suggestion below.
There are a few other functions in this package which use testing.T
. It would probably be good to convert more of them to this new interface, but we don't want to do it all at once.
Yes, the integration test failure is unrelated |
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.
Thank you for making this change! LGTM
The test failure is a known flake, not related to this change.
These changes were made as a result of a suggestion by @dnephin in #7559.
This PR enables using a
testing.TB
like interface (e.g. GinkgoT) in addition to the 'real'testing.TB
interface.See onsi/ginkgo#582 for further details.
cc @dnephin