Skip to content

[SPARK-49019] Use try-with-resources to test KubernetesClientFactory.buildKubernetesClient#25

Closed
dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:SPARK-49019
Closed

[SPARK-49019] Use try-with-resources to test KubernetesClientFactory.buildKubernetesClient#25
dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:SPARK-49019

Conversation

@dongjoon-hyun
Copy link
Copy Markdown
Member

@dongjoon-hyun dongjoon-hyun commented Jul 26, 2024

What changes were proposed in this pull request?

This PR aims to use try-with-resources to test KubernetesClientFactory.buildKubernetesClient.

Why are the changes needed?

To be safe during the testing.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

No.

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Could you review this PR, @viirya ?

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Could you review this PR, @huaxingao ?

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Thank you, @viirya and @huaxingao .

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Merged to main.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-49019 branch July 26, 2024 16:58
@dongjoon-hyun dongjoon-hyun mentioned this pull request Jul 29, 2024
jiangzho referenced this pull request in jiangzho/spark-kubernetes-operator Jul 17, 2025
…ry.buildKubernetesClient`

### What changes were proposed in this pull request?

This PR aims to use `try-with-resources` to test `KubernetesClientFactory.buildKubernetesClient`.

### Why are the changes needed?

To be safe during the testing.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #25 from dongjoon-hyun/SPARK-49019.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
jiangzho referenced this pull request in jiangzho/spark-kubernetes-operator Jul 17, 2025
Sync main branch with Apple internal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants