Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-50908][SS][PYTHON] Disable flaky TTL test in test_pandas_transform_with_state.py #49634

Closed
wants to merge 1 commit into from

Conversation

jingz-db
Copy link
Contributor

What changes were proposed in this pull request?

Disable the flaky TTL suite for TransformWithStateInPandas.

Why are the changes needed?

The suite is flaky on CI because for this test case, we want to test on scenarios of one key expires and the other key is still in the state store. The tricky thing is that we don't have equivalent of StreamManualClock in Scala and we have to manually set a Thread.sleep() time duration such that the TTL expires after a certain time duration while the other key does not. As the batch duration varies a lot on CI, this suite is flaky. We decided to disable the suite until we find a holistic fix.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Tested on CI.

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

No.

@HyukjinKwon
Copy link
Member

Okay we can skip it for now

@HyukjinKwon
Copy link
Member

Merged to master and branch-4.0.

HyukjinKwon pushed a commit that referenced this pull request Jan 24, 2025
…sform_with_state.py`

Disable the flaky TTL suite for TransformWithStateInPandas.

The suite is flaky on CI because for this test case, we want to test on scenarios of one key expires and the other key is still in the state store. The tricky thing is that we don't have equivalent of `StreamManualClock` in Scala and we have to manually set a Thread.sleep() time duration such that the TTL expires after a certain time duration while the other key does not. As the batch duration varies a lot on CI, this suite is flaky. We decided to disable the suite until we find a holistic fix.

No.

Tested on CI.

No.

Closes #49634 from jingz-db/fix-ttl-suite.

Authored-by: jingz-db <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
(cherry picked from commit 8f66aef)
Signed-off-by: Hyukjin Kwon <[email protected]>
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