[
https://issues.apache.org/jira/browse/YUNIKORN-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated YUNIKORN-1742:
-------------------------------------
Labels: pull-request-available (was: )
> Add new methods to MockScheduler to handle Kubernetes objects
> -------------------------------------------------------------
>
> Key: YUNIKORN-1742
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1742
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: shim - kubernetes, test - unit
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Major
> Labels: pull-request-available
>
> Tasks:
> * Update {{MockScheduler}} with some new methods which accept {{Pod}},
> {{Node}}, {{ConfigMap}} and {{PriorityClass}} objects
> * Call {{events.SetRecorder(events.NewMockedRecorder())}} during init
> because the tests can get stuck with the original event broadcaster code
> * Optionally, a new method which updates {{KubeClientMock.bindFn}} (useful
> for tests which want too see scheduling decisions)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]