Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Sep 18, 2024

What changes were proposed in this pull request?

Add a short wait loop to ensure that the test pre-condition is met. To be specific, VerifyEvents.executeHolder is set asynchronously by MockSparkListener.onOtherEvent whereas the test assumes that VerifyEvents.executeHolder is always available.

Why are the changes needed?

For smoother development experience.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

SparkConnectServiceSuite.

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

No.

@ghost
Copy link
Author

ghost commented Sep 18, 2024

@jdesjean Hi, nice to meet you! Could you review this trivial change? Thanks!

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-49688][CONNECT] Fix a sporadic SparkConnectServiceSuite failure [SPARK-49688][CONNECT][TESTS] Fix a sporadic SparkConnectServiceSuite failure Sep 18, 2024
@dongjoon-hyun
Copy link
Member

Also, cc @hvanhovell , too.

@HyukjinKwon
Copy link
Member

Merged to master.

@dongjoon-hyun
Copy link
Member

Thank you, @changgyoopark-db and @HyukjinKwon .

@ghost ghost deleted the SPARK-49688 branch September 19, 2024 06:13
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