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: issues-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to