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
storage: Get rid of TestListDeprecated #115794
storage: Get rid of TestListDeprecated #115794
Conversation
Int64Ptr is now deprecated. Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
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.
@MadhavJivrajani - Thanks for working on it - addded some comments.
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
Outdated
Show resolved
Hide resolved
/triage accepted |
40f4da1
to
159dce6
Compare
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.
Few more comments.
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
Outdated
Show resolved
Hide resolved
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
Outdated
Show resolved
Hide resolved
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
Outdated
Show resolved
Hide resolved
159dce6
to
56a02cd
Compare
@wojtek-t addressed both comments, PTAL, thanks! |
56a02cd
to
c9a6171
Compare
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.
One last minor nit - other than that LGTM
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
Outdated
Show resolved
Hide resolved
This commit extends the test cases of RunTestList to include the things tested by TestListDeprecated and subsequently deletes the test. This additionally adds a test case for checking that the list return the modified version of an object. Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
c9a6171
to
7474d9b
Compare
Thanks for review @wojtek-t 🙏🏼 |
/lgtm |
LGTM label has been added. Git tree hash: 1905db3e782c615f1db0617522594531b4f6acd8
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MadhavJivrajani, wojtek-t 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 |
/retest |
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
1 similar comment
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Commit 1: minor cleanup for using deprecated functions
Commit 2:
This commit extends the test cases of RunTestList
to include the things tested by TestListDeprecated
and subsequently deletes the test.
This additionally adds a test case for checking that
the list return the modified version of an object.
Which issue(s) this PR fixes:
Towards #109831
Special notes for your reviewer:
Commit 2 contains the actual cleanup
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/assign @wojtek-t
/sig api-machinery
/priority backlog