Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
aebf7a0
Plumb through the jvm output, we could test this by overloading sys.s…
holdenk Jan 6, 2017
3e8d7eb
Python3 support, isn't necessarily a file type. Instead just look for…
holdenk Jan 6, 2017
ca308b1
Only redirect if in ZMQInteractiveShell (e.g. notebook) or StringIO (…
holdenk Jan 12, 2017
0118631
We can't test this in the normal test classes since the JVM is alread…
holdenk Jan 12, 2017
dc03ee6
Merge in master
holdenk Feb 4, 2017
733d5b9
Update the sanity check to standalone tests
holdenk Feb 4, 2017
4aea955
Quick first pass at setting up standalone tests as well
holdenk Feb 4, 2017
25e9867
Merge branch 'master' into SPARK-19094-plumb-through-logging-for-ijup…
holdenk Mar 14, 2017
15d999b
pep8 fixes
holdenk Mar 14, 2017
a01f8f8
Fix pip tests to use the correct launch
holdenk Mar 14, 2017
955f163
Merge branch 'master' into SPARK-19094-plumb-through-logging-for-ijup…
holdenk Apr 18, 2017
2bfaa16
Only do the pyspark ml tests if numpy is present
holdenk Apr 18, 2017
6c22a89
Merge branch 'master' into SPARK-19094-plumb-through-logging-for-ijup…
holdenk May 6, 2017
219f017
Merge branch 'master' into SPARK-19094-plumb-through-logging-for-ijup…
holdenk May 9, 2017
a2caf97
Update standalone tests
holdenk May 10, 2017
1166b9e
Remove extra blank lines (style)
holdenk May 12, 2017
7fcc839
debug failure
holdenk May 12, 2017
08632fd
Change debug
holdenk May 13, 2017
64aee29
Check for the pypy error string as well, also catch re/throw errors d…
holdenk May 14, 2017
89cf739
Merge branch 'master' into SPARK-19094-plumb-through-logging-for-ijup…
holdenk May 14, 2017
bb36f50
hmmm lets makesure grab jvm is true
holdenk May 20, 2017
24ff579
hmmm....
holdenk May 20, 2017
c450d24
hmmm....
holdenk May 20, 2017
e0c3a6b
Buffer the stderr/stdout
holdenk May 20, 2017
009e7c4
Close FDs. We should really use dup2 if sys.stdout / sys.stderr have …
holdenk May 21, 2017
273f8a0
Merge branch 'master' into SPARK-19094-plumb-through-logging-for-ijup…
holdenk Nov 14, 2017
6a3f59a
Merge branch 'master' into SPARK-19094-plumb-through-logging-for-ijup…
holdenk Jan 17, 2018
ae450e8
Skip on pypy
holdenk Jan 17, 2018
33a2bab
Log a warning if we are running in a notebook in PyPy and we want to …
holdenk Jan 17, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update the sanity check to standalone tests
  • Loading branch information
holdenk committed Feb 4, 2017
commit 733d5b955f28c77925c29ce5f2e39f2ce6359fbc
4 changes: 2 additions & 2 deletions dev/run-pip-tests
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ for python in "${PYTHON_EXECS[@]}"; do
cd /

echo "Run basic sanity check on pip installed version with spark-submit"
spark-submit "$FWDIR"/dev/pip-sanity-check.py
spark-submit "$FWDIR"/python/standalone_tests.py
echo "Run basic sanity check with import based"
python "$FWDIR"/dev/pip-sanity-check.py
python "$FWDIR"/python/standalone_tests.py
echo "Run the tests for context.py"
python "$FWDIR"/python/pyspark/context.py

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
# limitations under the License.
#

"""
Standalone tests for PySpark - can be used to quickly test PySpark pip installation. When launched
without spark-submit verifies Jupyter redirection.
"""

from __future__ import print_function

import os
Expand Down