[
https://issues.apache.org/jira/browse/YUNIKORN-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig Condit resolved YUNIKORN-2824.
------------------------------------
Fix Version/s: 1.7.0
Resolution: Fixed
Merged to master.
> Refactor preemption_test.go
> ---------------------------
>
> Key: YUNIKORN-2824
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2824
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: core - scheduler
> Reporter: Manikandan R
> Assignee: Yun Sun
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.7.0
>
>
> Off late, lot of new tests has been added into preemption_test.go for several
> use cases. There is a room of improvement to simplify the whole tests
> especially by avoiding duplicates. For example,
> TestTryPreemption, TestTryPreemptionOnNode and
> TestTryPreemption_NodeWithCapacityLesserThanAsk can be merged together into
> single one and handle each cases through t.Run({}) construct.
> Need to analyse other tests as well and see if those can be merged together
> for simplification.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]