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

Yu-Lin Chen updated YUNIKORN-3016:
----------------------------------
    Summary: Cleanup cluster resources after persistent_volume e2e test failed  
(was: persistent_volume e2e test should cleanup cluster resources after test 
failed)

> Cleanup cluster resources after persistent_volume e2e test failed
> -----------------------------------------------------------------
>
>                 Key: YUNIKORN-3016
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-3016
>             Project: Apache YuniKorn
>          Issue Type: Test
>          Components: test - e2e
>            Reporter: Yu-Lin Chen
>            Assignee: Kaichia Chen
>            Priority: Major
>              Labels: newbie, pull-request-available
>
> Some cluster-scoped resource were not cleaned up after persistent_volume e2e 
> test failed. We should clean them in AfterEach.
>  * 
> https://github.com/apache/yunikorn-k8shim/blob/a53123f2d0bb3fd325dd7f8c1f2cc4640ff448d7/test/e2e/persistent_volume/persistent_volume_test.go#L181-L182
> {code:java}
> kubectl delete storageclasses nfs-sc 
> kubectl delete ClusterRole nfs-cluster-role
> kubectl delete clusterrolebindings nfs-cluster-role-binding{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to