[ 
https://issues.apache.org/jira/browse/SPARK-15296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiangrui Meng resolved SPARK-15296.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 13101
[https://github.com/apache/spark/pull/13101]

> Refactor All Java Tests that use SparkSession
> ---------------------------------------------
>
>                 Key: SPARK-15296
>                 URL: https://issues.apache.org/jira/browse/SPARK-15296
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, MLlib, Tests
>            Reporter: Sandeep Singh
>            Assignee: Sandeep Singh
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> There's a lot of Duplicate code in Java tests. {{setUp()}} and {{tearDown()}} 
> of most java test classes in ML,MLLib.
> So will create a {{SharedSparkSession}} class that has common code for 
> {{setUp}} and {{tearDown}} and other classes just extend that class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to