spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Cornell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-4442) Move common unit test utilities into their own package / module
Date Tue, 20 Jan 2015 18:59:35 GMT

    [ https://issues.apache.org/jira/browse/SPARK-4442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14284210#comment-14284210
] 

Matthew Cornell commented on SPARK-4442:
----------------------------------------

OK, progress: I cloned master and re-ran the commands and did end up getting spark-core_2.10-1.3.0-SNAPSHOT-tests.jar,
which does contain LocalSparkContext. So I guess I've upgraded to 1.3.0 :-) Question, please:
There is as second LocalSparkContext defined in:

graphx/src/test/scala/org/apache/spark/graphx/LocalSparkContext.scala

that did not get included in the mvn jar:test-jar command. I looked at pom.xml to try to figure
out what that argument does, but all I found was a <profile> called 'java8-tests'. I
couldn't find anywhere that mentioned:

<dir>spark/core/src/test/scala/org/apache/spark/LocalSparkContext.scala 

Any pointers would be appreciated!

> Move common unit test utilities into their own package / module
> ---------------------------------------------------------------
>
>                 Key: SPARK-4442
>                 URL: https://issues.apache.org/jira/browse/SPARK-4442
>             Project: Spark
>          Issue Type: Improvement
>            Reporter: Josh Rosen
>            Priority: Minor
>
> We should move generally-useful unit test fixtures / utility methods to their own test
utilities set package / module to make them easier to find / use.
> See https://github.com/apache/spark/pull/3121#discussion-diff-20413659 for one example
of this.



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

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


Mime
View raw message