-
Notifications
You must be signed in to change notification settings - Fork 971
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
add mock cache for ut and performance test #3269
Conversation
25b3d2f
to
5a01c18
Compare
/assign @Monokaix @wangyang0616 @william-wang |
5a01c18
to
203f8b5
Compare
Hi, please resolve code conflict. |
aadbf47
to
d234439
Compare
/lgtm |
/assign @william-wang |
Signed-off-by: lowang-bh <lhui_wang@163.com>
d234439
to
cf51c87
Compare
/assign @Monokaix @hwdef @wangyang0616 @william-wang |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: william-wang 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 |
This Pr supply mock SchedulerCache with two methods:
NewCustomMockSchedulerCache
use customer's interface to replace those schedulerCache's interfaceNewDefaultMockSchedulerCache
use k8s fake client as the default one to replace schedulerCache's interface.we can use mockSchedulerCache in this PR to do those things:
performance UT test in issue Performance benchmark is need #3244
Improve all UTs such as: