You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Craig Condit (Jira)" <ji...@apache.org> on 2025/02/19 22:56:00 UTC
[jira] [Updated] (YUNIKORN-2306) Use asserts instead of If based checks in UGM
[ https://issues.apache.org/jira/browse/YUNIKORN-2306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Craig Condit updated YUNIKORN-2306:
-----------------------------------
Target Version: 1.8.0
> Use asserts instead of If based checks in UGM
> ---------------------------------------------
>
> Key: YUNIKORN-2306
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2306
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: core - scheduler
> Reporter: Manikandan R
> Priority: Major
>
> UGM module tests has lot of If based checks. We need to move those to assert based checks. Also, Increase calls cannot be used anymore to validate the negative case (user is not allowed to run) because of the recent changes. Instead, headroom or canrunapp methods should be used appropriately.
> Please refer the discussion:
> https://github.com/apache/yunikorn-core/pull/758#discussion_r1441385897
--
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