@@ -31,8 +31,8 @@ object BuildCommons {
3131 private val buildLocation = file(" ." ).getAbsoluteFile.getParentFile
3232
3333 val allProjects @ Seq (bagel, catalyst, core, graphx, hive, hiveThriftServer, mllib, repl,
34- sql, networkCommon, networkShuffle, streaming, streamingFlumeSink, streamingFlume, streamingKafka,
35- streamingMqtt, streamingTwitter, streamingZeromq) =
34+ sql, networkCommon, networkShuffle, streaming, streamingFlumeSink, streamingFlume, streamingKafka,
35+ streamingMqtt, streamingTwitter, streamingZeromq) =
3636 Seq (" bagel" , " catalyst" , " core" , " graphx" , " hive" , " hive-thriftserver" , " mllib" , " repl" ,
3737 " sql" , " network-common" , " network-shuffle" , " streaming" , " streaming-flume-sink" ,
3838 " streaming-flume" , " streaming-kafka" , " streaming-mqtt" , " streaming-twitter" ,
@@ -361,8 +361,10 @@ object TestSettings {
361361 .map { case (k,v) => s " -D $k= $v" }.toSeq,
362362 javaOptions in Test ++= " -Xmx3g -XX:PermSize=128M -XX:MaxNewSize=256m -XX:MaxPermSize=1g"
363363 .split(" " ).toSeq,
364+ javaOptions in Test +=
365+ " -Dspark.executor.extraClassPath=" + (fullClasspath in Test ).value.files.
366+ map(_.getAbsolutePath).mkString(" :" ).stripSuffix(" :" ),
364367 javaOptions += " -Xmx3g" ,
365- retrievePattern := " [conf]/[artifact](-[revision]).[ext]" ,
366368 // Show full stack trace and duration in test cases.
367369 testOptions in Test += Tests .Argument (" -oDF" ),
368370 testOptions += Tests .Argument (TestFrameworks .JUnit , " -v" , " -a" ),
0 commit comments