[
https://issues.apache.org/jira/browse/YUNIKORN-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved YUNIKORN-2296.
--------------------------------------
Fix Version/s: 1.5.0
Resolution: Fixed
> Incorrect assert condition in config_test.go
> --------------------------------------------
>
> Key: YUNIKORN-2296
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2296
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - common, test - unit
> Reporter: Kuan-Po Tseng
> Assignee: Kuan-Po Tseng
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.5.0
>
>
> in config_test.go, there are many assertion condition in tests are wrong.
> [https://github.com/apache/yunikorn-core/blob/526a8db4b61c0db48a3fa6a41c9f4d59481862e7/pkg/common/configs/config_test.go#L919]
> [https://github.com/apache/yunikorn-core/blob/526a8db4b61c0db48a3fa6a41c9f4d59481862e7/pkg/common/configs/config_test.go#L925]
> ...etc.
> The && should be replaced with ||
> Not only the two mentioned above need to be corrected, but many other areas
> also need to be addressed together.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]