Skip to content

[SPARK-44750][PYTHON][CONNECT][TESTS][FOLLOW-UP] Avoid creating session twice in SparkConnectSessionWithOptionsTest #42747

Closed
zhengruifeng wants to merge 1 commit intoapache:masterfrom
zhengruifeng:minor_test_ut
Closed

[SPARK-44750][PYTHON][CONNECT][TESTS][FOLLOW-UP] Avoid creating session twice in SparkConnectSessionWithOptionsTest #42747
zhengruifeng wants to merge 1 commit intoapache:masterfrom
zhengruifeng:minor_test_ut

Conversation

@zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Avoid creating session twice in SparkConnectSessionWithOptionsTest

Why are the changes needed?

the session created in ReusedConnectTestCase#setUpClass is not used, so no need to inherit

Does this PR introduce any user-facing change?

no, test-only

How was this patch tested?

ci

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

no

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM.

dongjoon-hyun pushed a commit that referenced this pull request Sep 1, 2023
…on twice in `SparkConnectSessionWithOptionsTest`

### What changes were proposed in this pull request?
Avoid creating session twice in `SparkConnectSessionWithOptionsTest`

### Why are the changes needed?
the session created in `ReusedConnectTestCase#setUpClass` is not used, so no need to inherit

### Does this PR introduce _any_ user-facing change?
no, test-only

### How was this patch tested?
ci

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

Closes #42747 from zhengruifeng/minor_test_ut.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit 8c27de6)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
@dongjoon-hyun
Copy link
Member

Merged to main/3.5. Thank you, @zhengruifeng .

@zhengruifeng
Copy link
Contributor Author

thank you @dongjoon-hyun

@zhengruifeng zhengruifeng deleted the minor_test_ut branch September 2, 2023 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants