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

Chia-Ping Tsai updated YUNIKORN-797:
------------------------------------
    Description: 
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

  was:
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}


> 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
>
> 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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to