Manikandan R created YUNIKORN-2306:
--------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]