You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Kaichia Chen (Jira)" <ji...@apache.org> on 2025/01/19 05:50:00 UTC

[jira] [Assigned] (YUNIKORN-3016) persistent_volume e2e test should cleanup cluster resources after test failed

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

Kaichia Chen reassigned YUNIKORN-3016:
--------------------------------------

    Assignee: Kaichia Chen

> persistent_volume e2e test should cleanup cluster resources after 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
>
> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org