You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2022/03/18 02:31:00 UTC

[jira] [Resolved] (YUNIKORN-797) testing `DAOString` with multiple resources is unstable

     [ https://issues.apache.org/jira/browse/YUNIKORN-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wilfred Spiegelenburg resolved YUNIKORN-797.
--------------------------------------------
    Fix Version/s: 1.0.0
       Resolution: Resolved

This issue becomes irrelevant as soon s the changes from YUNIKORN-165 get committed. The resources will become a proper map in the json response and we will have DAOString anymore.

> testing `DAOString` with multiple resources is unstable
> -------------------------------------------------------
>
>                 Key: YUNIKORN-797
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-797
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> https://github.com/apache/incubator-yunikorn-core/pull/296#discussion_r688204389
> {noformat}
> resources are a map you cannot never rely on the fact that the resources will be returned in a fixed order. Two calls to DAOString() on the same resource might return different string values.
> {noformat}
> potential issue: https://github.com/apache/incubator-yunikorn-core/blob/master/pkg/common/resources/resources_test.go#L1550



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org