GitHub user erenavsarogullari opened a pull request:

    [SPARK-17584][Test] - Add unit test coverage for TaskState and ExecutorState

    ## What changes were proposed in this pull request?
    - TaskState and ExecutorState expose isFailed and isFinished functions. It 
can be useful to add test coverage for different states. Currently, Other enums 
do not expose any functions so this PR aims just these two enums.
    - `private` access modifier is added for Finished Task States Set
    - A minor doc change is added.
    ## How was this patch tested?
    New Unit tests are added and run locally.

You can merge this pull request into a Git repository by running:

    $ git pull SPARK-17584

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15143
commit 02c3b1b3a529f4954f55c8856a1e5d0dc218e6cf
Author: erenavsarogullari <>
Date:   2016-09-18T16:12:08Z

    New UT Cases are added for TaskState and ExecutorState enums.


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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to