This is an automated email from the ASF dual-hosted git repository.

dongjoon-hyun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 0db66a86 [SPARK-59976] Use `spark` release name for `helm uninstall` 
in `watched-namespaces` E2E test
0db66a86 is described below

commit 0db66a86ba5a2af2bb92490ff377f63638a40f8c
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Oct 5 10:13:35 2026 -0700

    [SPARK-59976] Use `spark` release name for `helm uninstall` in 
`watched-namespaces` E2E test
    
    ### What changes were proposed in this pull request?
    
    This PR aims to use `spark` release name for `helm uninstall` in 
`watched-namespaces` E2E test.
    
    ### Why are the changes needed?
    
    SPARK-53639 changed the release name of `helm install` to `spark`, but 
missed the corresponding `helm uninstall`. Since then, `helm uninstall` fails 
silently and leaves the cluster-scoped resources of the second operator behind 
on a reused cluster.
    
    - 
https://github.com/apache/spark-kubernetes-operator/actions/runs/37331532542/job/111860503281
    
    ```
    Error: uninstall: Release not loaded: spark-kubernetes-operator: release: 
not found
    ```
    
    ### Does this PR introduce _any_ user-facing change?
    
    No. This is a test-only change.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Opus 5.5
    
    Closes #932 from dongjoon-hyun/SPARK-59976.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 tests/e2e/watched-namespaces/chainsaw-test.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/e2e/watched-namespaces/chainsaw-test.yaml 
b/tests/e2e/watched-namespaces/chainsaw-test.yaml
index 167a138d..f2aa7496 100644
--- a/tests/e2e/watched-namespaces/chainsaw-test.yaml
+++ b/tests/e2e/watched-namespaces/chainsaw-test.yaml
@@ -127,6 +127,6 @@ spec:
           timeout: 60s
           content: |
             kubectl delete sparkapplication spark-job-succeeded-test -n 
spark-3 --ignore-not-found=true
-            helm uninstall spark-kubernetes-operator -n default-2
+            helm uninstall spark -n default-2
             kubectl delete namespace default-2 --ignore-not-found=true
             kubectl delete namespace spark-3 --ignore-not-found=true


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

Reply via email to