File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
external/flume-sink/src/test/scala/org/apache/spark/streaming/flume/sink Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,18 @@ import org.apache.flume.Context
3131import org .apache .flume .channel .MemoryChannel
3232import org .apache .flume .event .EventBuilder
3333import org .jboss .netty .channel .socket .nio .NioClientSocketChannelFactory
34+
35+ // Due to MNG-1378, there is not a way to include test dependencies transitively.
36+ // We cannot include Spark core tests as a dependency here because it depends on
37+ // Spark core main, which has too many dependencies to require here manually.
38+ // For this reason, we continue to use FunSuite and ignore the scalastyle checks
39+ // that fail if this is detected.
40+ // scalastyle:off
3441import org .scalatest .FunSuite
3542
3643class SparkSinkSuite extends FunSuite {
44+ // scalastyle:on
45+
3746 val eventsPerBatch = 1000
3847 val channelCapacity = 5000
3948
You can’t perform that action at this time.
0 commit comments