You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Saad Ur Rahman (Jira)" <ji...@apache.org> on 2022/05/16 18:23:00 UTC
[jira] [Commented] (YUNIKORN-592) Move test code out of utils.go
[ https://issues.apache.org/jira/browse/YUNIKORN-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537707#comment-17537707 ]
Saad Ur Rahman commented on YUNIKORN-592:
-----------------------------------------
If this is still available I would like to pick it up.
> Move test code out of utils.go
> ------------------------------
>
> Key: YUNIKORN-592
> URL: https://issues.apache.org/jira/browse/YUNIKORN-592
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: shim - kubernetes
> Reporter: Wilfred Spiegelenburg
> Assignee: Alkaid Jiang
> Priority: Major
> Labels: newbie
>
> The utils.go file is a mixture of test and production code. The test code does not belong in the utils file and needs to be factored out into a test file:
> * K8sResource with NewK8sResourceList
> * PodForTest
> * NodeForTest
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org