You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2025/01/10 15:10:00 UTC

[jira] [Resolved] (SPARK-50776) Invalid test assertions on executor Kubernetes service account

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

Dongjoon Hyun resolved SPARK-50776.
-----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 49428
[https://github.com/apache/spark/pull/49428]

> Invalid test assertions on executor Kubernetes service account
> --------------------------------------------------------------
>
>                 Key: SPARK-50776
>                 URL: https://issues.apache.org/jira/browse/SPARK-50776
>             Project: Spark
>          Issue Type: Test
>          Components: Kubernetes, Tests
>    Affects Versions: 3.5.4
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> {{ExecutorKubernetesCredentialsFeatureStepSuite}} attempts to check that the Spark code sets the correct service account on the executor pod. However, the current assertions are actually no-ops that check if a variable is equal to itself, which is always true. The test would pass even if the product code had a bug.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org