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
31
31
import org .apache .flume .channel .MemoryChannel
32
32
import org .apache .flume .event .EventBuilder
33
33
import 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
34
41
import org .scalatest .FunSuite
35
42
36
43
class SparkSinkSuite extends FunSuite {
44
+ // scalastyle:on
45
+
37
46
val eventsPerBatch = 1000
38
47
val channelCapacity = 5000
39
48
You can’t perform that action at this time.
0 commit comments