Skip to content

Conversation

@HyukjinKwon
Copy link
Member

@HyukjinKwon HyukjinKwon commented Jul 27, 2019

What changes were proposed in this pull request?

We should add assume(shouldTestPythonUDFs). Maybe it's not a biggie in general but it can matter in other venders' testing base. For instance, if somebody launches a test in a minimal docker image, it might make the tests failed suddenly.

This skipping stuff isn't completely new in our test base. See TestUtils.testCommandAvailable for instance.

How was this patch tested?

Manually tested.

@HyukjinKwon HyukjinKwon changed the title [SPARK-28441][SQL][TESTS] Skip Python tests if python executable and pyspark library are unavailable [SPARK-28441][SQL][TESTS][FOLLOW-UP] Skip Python tests if python executable and pyspark library are unavailable Jul 27, 2019
@HyukjinKwon
Copy link
Member Author

cc @viirya and @cloud-fan

@viirya
Copy link
Member

viirya commented Jul 27, 2019

Thanks for adding that.

@HyukjinKwon
Copy link
Member Author

Related tests passed.

Merged to master.

@SparkQA
Copy link

SparkQA commented Jul 27, 2019

Test build #108244 has finished for PR 25272 at commit 1f546f8.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon HyukjinKwon deleted the SPARK-28441 branch March 3, 2020 01:19
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.

4 participants