You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Craig Condit (Jira)" <ji...@apache.org> on 2023/05/25 15:47:00 UTC

[jira] [Resolved] (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 ]

Craig Condit resolved YUNIKORN-1742.
------------------------------------
     Fix Version/s: 1.3.0
    Target Version: 1.3.0
        Resolution: Fixed

Merged to master.

> 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
>             Fix For: 1.3.0
>
>
> 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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org