Uh oh!
There was an error while loading. Please reload this page.
[SPARK-11706][Streaming]Fix the bug that Streaming Python tests cannot report failures - #9669
[SPARK-11706][Streaming]Fix the bug that Streaming Python tests cannot report failures#9669zsxwing wants to merge 6 commits into
Conversation
zsxwing
commented
Nov 12, 2015
Manually tested this patch locally by adding |
There was a problem hiding this comment.
unittest.main will call sys.exit after finishing tests, so we should not use it here.
SparkQA
commented
Nov 12, 2015
Test build #45753 has finished for PR 9669 at commit
|
SparkQA
commented
Nov 12, 2015
Test build #45759 has finished for PR 9669 at commit
|
zsxwing
commented
Nov 12, 2015
No surprises. Exposed a lot of test failures. Fixing them |
SparkQA
commented
Nov 12, 2015
Test build #45776 has finished for PR 9669 at commit
|
There was a problem hiding this comment.
StreamingContext doesn't have a static _jvm. It's an instance field.
SparkQA
commented
Nov 12, 2015
Test build #45784 has finished for PR 9669 at commit
|
tdas
commented
Nov 13, 2015
Merging this to master, 1.6 and 1.5. Thanks @zsxwing for catching this. |
…ot report failures This PR just checks the test results and returns 1 if the test fails, so that `run-tests.py` can mark it fail. Author: Shixiong Zhu <shixiong@databricks.com> Closes#9669 from zsxwing/streaming-python-tests. (cherry picked from commit ec80c0c) Signed-off-by: Tathagata Das <tathagata.das1565@gmail.com>
…ot report failures This PR just checks the test results and returns 1 if the test fails, so that `run-tests.py` can mark it fail. Author: Shixiong Zhu <shixiong@databricks.com> Closesapache#9669 from zsxwing/streaming-python-tests.
This PR just checks the test results and returns 1 if the test fails, so that
run-tests.pycan mark it fail.