[
https://issues.apache.org/jira/browse/YUNIKORN-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Bacsko updated YUNIKORN-1742:
-----------------------------------
Summary: Add new methods to MockScheduler to handle Kubernetes objects
(was: Add new methods to MockScheduler which accept pod/node objects)
> 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
>
> Tasks:
> * Update {{MockScheduler}} with some new methods which accept {{v1.Pod}} and
> {{v1.Node}} 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]