GitHub user zsxwing opened a pull request:
https://github.com/apache/spark/pull/16567
[SPARK-19113][SS][Tests] Ignore StreamingQueryException thrown from
awaitInitialization to avoid breaking tests
## What changes were proposed in this pull request?
`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
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zsxwing/spark SPARK-19113-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16567.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #16567
----
commit e5ed096bbf719bcd34d36e31485f939b633f43f4
Author: Shixiong Zhu <[email protected]>
Date: 2017-01-13T06:22:41Z
Ignore exception from awaitInitialization to avoid breaking tests
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]