diff options
author | Shixiong Zhu <shixiong@databricks.com> | 2017-01-18 10:50:51 -0800 |
---|---|---|
committer | Shixiong Zhu <shixiong@databricks.com> | 2017-01-18 10:50:51 -0800 |
commit | c050c12274fba2ac4c4938c4724049a47fa59280 (patch) | |
tree | d11b7a23f6c583ed1b9b2e6e6e81925fcc25e518 /licenses/LICENSE-scopt.txt | |
parent | 33791a8ced61d1ffa09f68033d240f874fdb1593 (diff) | |
download | spark-c050c12274fba2ac4c4938c4724049a47fa59280.tar.gz spark-c050c12274fba2ac4c4938c4724049a47fa59280.tar.bz2 spark-c050c12274fba2ac4c4938c4724049a47fa59280.zip |
[SPARK-19113][SS][TESTS] Ignore StreamingQueryException thrown from awaitInitialization to avoid breaking tests
## What changes were proposed in this pull request?
#16492 missed one race condition: `StreamExecution.awaitInitialization` may throw fatal errors and fail the test. This PR just ignores `StreamingQueryException` thrown from `awaitInitialization` so that we can verify the exception in the `ExpectFailure` action later. It's fine since `StopStream` or `ExpectFailure` will catch `StreamingQueryException` as well.
## How was this patch tested?
Jenkins
Author: Shixiong Zhu <shixiong@databricks.com>
Closes #16567 from zsxwing/SPARK-19113-2.
Diffstat (limited to 'licenses/LICENSE-scopt.txt')
0 files changed, 0 insertions, 0 deletions