-
Notifications
You must be signed in to change notification settings - Fork 1.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
Remove test builders from validate_params_test.go #3281
Remove test builders from validate_params_test.go #3281
Conversation
835ebe1
to
12ff931
Compare
/cc @imjasonh |
228a0a6
to
76577c1
Compare
/retest all |
/retest |
/lgtm |
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.
Test names use underscores instead of blank spaces. Golang test convert blanks to underscores into the terminal anyway. Changing in the code base ahead of time makes it easier to find failed test in editors.
I am not really a fan of doing that change. The fact that go
replace converts blank to something is an implementation detail.
A description was added to each test case.
Not a fan of that one either, the name
field should be sufficient and it's gonna be extra burden to maintain. Just like most comments, it might become incorrect with what the test actually does.
/hold |
+1, I've even been changing underscores to spaces in other changes 😆
Agree here too, test names should be short and descriptive enough to not need a longer description. If you do need to describe something in more detail, that's fine, but I'd do it in a |
/kind cleanup Poking the kind label check 🤞 |
76577c1
to
d61ed1b
Compare
788c949
to
3152e45
Compare
@vdemeester @imjasonh Thanks for the feedback! 😄 |
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.
/meow
/hold cancel
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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester 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 |
As a developer, it is better to have simple tests. Using minimal internal types are simpler than full pipeline objects. As a result, test builders were removed. There also seemed to be duplicated tests. As a result, removed Duplicated Tests.
3152e45
to
3407bda
Compare
poke @dlorenc |
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
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Double check this list of stuff that's easy to miss:
cmd
dir, please updatethe release Task to build and release this image.
Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
/area testing
/kind cleanup
#3178