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

[jira] [Created] (YUNIKORN-592) Move test code out of utils.go

Wilfred Spiegelenburg created YUNIKORN-592:
----------------------------------------------

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


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

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