You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Po Han Huang (Jira)" <ji...@apache.org> on 2025/11/22 12:55:00 UTC

[jira] [Commented] (YUNIKORN-1401) extend unit tests for allocation data in getApplicationJSON

    [ https://issues.apache.org/jira/browse/YUNIKORN-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040061#comment-18040061 ] 

Po Han Huang commented on YUNIKORN-1401:
----------------------------------------

Hi [~lowc1012]
Even though getAllocationAsksDAO has replace getApplicationJSON, the unit test still not covering it.

Should we continue this issue?
cc: [~wilfreds]

> extend unit tests for allocation data in getApplicationJSON
> -----------------------------------------------------------
>
>                 Key: YUNIKORN-1401
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1401
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - common, test - unit
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Ryan Lo
>            Priority: Major
>              Labels: newbie
>
> All current allocations are rendered as part of the application object.
> The current unit tests for the getApplicationJSON do not test the code for generating the allocation data.
> All calls in the tests seem to pass in an application without allocations.



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