You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2023/05/17 08:06:00 UTC
[jira] [Updated] (YUNIKORN-1742) Add new methods to MockScheduler to handle Kubernetes objects
[ 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org