-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix: Remove direct usage of testify from pkg/spire/ #8788
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
Conversation
|
/cc @vdemeester |
|
/kind chore |
|
@waveywaves: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/kind cleanup |
|
/ok-to-test |
|
/retest |
|
Can we run |
|
@infernus01 please follow the commit message standards for this one and format the commit title and description accordingly |
@waveywaves Got it! Next time, my commit messages will be so proper they'll wear a tie. |
03c7e5e to
ff676a0
Compare
@vdemeester yes after running these commands, I verified this removes the testify packages from pkg/spire directory. |
|
@infernus01 ah it becomes an indirect dependency. If you run the oneline, it should modify |
ed0b4ca to
a987d81
Compare
a987d81 to
aec1db6
Compare
|
Edit: Per discussion with @aThorp96 and @waveywaves , I'm reverting the changes made here to the previous commit only. so I removed the strechr testify package indirect dependency from one more place (check last commit) but as the following go mod why output suggests, it's being used in other places as well. Here's the # github.com/stretchr/testify
github.com/tektoncd/pipeline/cmd/resolvers
k8s.io/client-go/rest
k8s.io/client-go/rest.test
github.com/stretchr/testify/assert/cc @vdemeester |
4d2da25 to
fb4a17a
Compare
|
/retest |
1 similar comment
|
/retest |
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
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester, waveywaves The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
This PR removes direct usage of github.com/stretchr/testify (see issue #8775). All assertions have been replaced with standard testing.T error handling methods.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes