-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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
[scheduler cleanup phase 1]: Refactor factory_test.go to use a fake k8s client #68963
Comments
I'm working on a very similar fix for service-catalog, so I can pick this up as well! |
@tossmilestone: GitHub didn't allow me to assign the following users: tossmilestone. Note that only kubernetes members and repo collaborators can be assigned. 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. |
@tossmilestone, are you interested in working on this issue? |
@shubheksha yes, if you are not working on it, I will have a try. Thanks! |
@tossmilestone Have you started this? How is it going? |
@misterikkit: GitHub didn't allow me to assign the following users: tossmilestone. Note that only kubernetes members and repo collaborators can be assigned. 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. |
@misterikkit, I am now working on it. It will be done later. |
@misterikkit This Issue has been done, PTAL. See #69412. |
PLEASE COORDINATE WITH SIG-SCHEDULING BEFORE WORKING ON THIS ISSUE. We want to avoid the situation where two people accidentally start work on the same fix.
Main tracking issue: #68951
The tests in
pkg/scheduler/factory/factory_test.go
depend on mocking REST/HTTP with the utils inpkg/scheduler/testing
. It would be much simpler to usek8s.io/client-go/kubernetes/fake.Clientset
instead. None of the behavior under test depends on how the REST and HTTP stuff behaves./ref #68962
/sig scheduling
/kind cleanup
/help
The text was updated successfully, but these errors were encountered: