HyukjinKwon closed pull request #162: Add a note about Spark build requirement at PySpark testing guide in Developer Tools URL: https://github.com/apache/spark-website/pull/162
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/developer-tools.md b/developer-tools.md index ebe6905fa..43ad445d6 100644 --- a/developer-tools.md +++ b/developer-tools.md @@ -131,6 +131,8 @@ build/mvn test -DwildcardSuites=none -Dtest=org.apache.spark.streaming.JavaAPISu <h4>Testing PySpark</h4> To run individual PySpark tests, you can use `run-tests` script under `python` directory. Test cases are located at `tests` package under each PySpark packages. +Note that, if you add some changes into Scala or Python side in Apache Spark, you need to manually build Apache Spark again before running PySpark tests in order to apply the changes. +Running PySpark testing script does not automatically build it. To run test cases in a specific module: diff --git a/site/developer-tools.html b/site/developer-tools.html index 82dab671a..710f6f53e 100644 --- a/site/developer-tools.html +++ b/site/developer-tools.html @@ -313,7 +313,9 @@ <h4>Testing with Maven</h4> <h4>Testing PySpark</h4> -<p>To run individual PySpark tests, you can use <code>run-tests</code> script under <code>python</code> directory. Test cases are located at <code>tests</code> package under each PySpark packages.</p> +<p>To run individual PySpark tests, you can use <code>run-tests</code> script under <code>python</code> directory. Test cases are located at <code>tests</code> package under each PySpark packages. +Note that, if you add some changes into Scala or Python side in Apache Spark, you need to manually build Apache Spark again before running PySpark tests in order to apply the changes. +Running PySpark testing script does not automatically build it.</p> <p>To run test cases in a specific module:</p> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe e-mail: dev-unsubscr...@spark.apache.org