Skip to content

Commit

Permalink
[SPARK-50890][PYTHON][TESTS][CONNECT] Skip test_take in Spark Connect…
Browse files Browse the repository at this point in the history
… only build

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

This PR proposes to skip test_take in Spark Connect only build.

### Why are the changes needed?

This particular test is flaky (https://github.com/apache/spark/actions/runs/12857135589/job/35844649654) and fails with OOM, which results in stopping all following tests. We should at least fix this build, and run other tests.

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

No, test-only.

### How was this patch tested?

Will monitor the build.

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

No.

Closes apache#49565 from HyukjinKwon/skip-test-take.

Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
  • Loading branch information
HyukjinKwon committed Jan 20, 2025
1 parent c7df014 commit 1e378b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/pyspark/pandas/tests/connect/frame/test_parity_take.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
#
import unittest

from pyspark import is_remote_only
from pyspark.pandas.tests.frame.test_take import FrameTakeMixin
from pyspark.testing.connectutils import ReusedConnectTestCase
from pyspark.testing.pandasutils import PandasOnSparkTestUtils


@unittest.skipIf(is_remote_only(), "Flaky with OOM")
class FrameTakeParityTests(
FrameTakeMixin,
PandasOnSparkTestUtils,
Expand Down

0 comments on commit 1e378b3

Please sign in to comment.