You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by spotvenky <sp...@gmail.com> on 2015/03/04 07:15:36 UTC

Sharing SparkContext across multiple Unit Test Scala files

Can someone show me a code snippet on how I can create one SparkContext and
share it across multiple Unit Test files? I want the tests to run in
parallel as well. (i.e. parallelExecution in Test := true) 

I looked up SharedSparkContext, doesnt seem to work when tests are run in
parallel. Can someone guide me here.



--
View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Sharing-SparkContext-across-multiple-Unit-Test-Scala-files-tp10859.html
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.

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