You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Manikandan R (Jira)" <ji...@apache.org> on 2024/02/02 07:05:00 UTC

[jira] [Resolved] (YUNIKORN-2375) Move mocks to a central place

     [ https://issues.apache.org/jira/browse/YUNIKORN-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manikandan R resolved YUNIKORN-2375.
------------------------------------
    Resolution: Fixed

Merged to master

> Move mocks to a central place
> -----------------------------
>
>                 Key: YUNIKORN-2375
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2375
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - common
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>              Labels: pull-request-available
>
> The ResourceManagerCallback API implementations are in a large number of places for tests. The base implementation that is used often resides in {{scheduler/tests}} this requires packages outside the scheduler to import that one.
> There is no need for that and it could even cause circular references on imports. Moving the base implementation and all mocks that we need into a top level package would simplify the code



--
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