Skip to content

Commit 1e378b3

Browse files
committed
[SPARK-50890][PYTHON][TESTS][CONNECT] Skip test_take in Spark Connect 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 #49565 from HyukjinKwon/skip-test-take. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent c7df014 commit 1e378b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/pyspark/pandas/tests/connect/frame/test_parity_take.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@
1616
#
1717
import unittest
1818

19+
from pyspark import is_remote_only
1920
from pyspark.pandas.tests.frame.test_take import FrameTakeMixin
2021
from pyspark.testing.connectutils import ReusedConnectTestCase
2122
from pyspark.testing.pandasutils import PandasOnSparkTestUtils
2223

2324

25+
@unittest.skipIf(is_remote_only(), "Flaky with OOM")
2426
class FrameTakeParityTests(
2527
FrameTakeMixin,
2628
PandasOnSparkTestUtils,

0 commit comments

Comments
 (0)