spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spotvenky <spotve...@gmail.com>
Subject Sharing SparkContext across multiple Unit Test Scala files
Date Wed, 04 Mar 2015 06:15:36 GMT
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


Mime
View raw message