Skip to content

Commit

Permalink
Exempt SparkSinkSuite from the FunSuite check
Browse files Browse the repository at this point in the history
See the in-code comment for an explanation of why this is necessary.
  • Loading branch information
Andrew Or committed May 30, 2015
1 parent 99d02ac commit 6618b46
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,18 @@ import org.apache.flume.Context
import org.apache.flume.channel.MemoryChannel
import org.apache.flume.event.EventBuilder
import org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory

// Due to MNG-1378, there is not a way to include test dependencies transitively.
// We cannot include Spark core tests as a dependency here because it depends on
// Spark core main, which has too many dependencies to require here manually.
// For this reason, we continue to use FunSuite and ignore the scalastyle checks
// that fail if this is detected.
//scalastyle:off
import org.scalatest.FunSuite

class SparkSinkSuite extends FunSuite {
//scalastyle:on

val eventsPerBatch = 1000
val channelCapacity = 5000

Expand Down

0 comments on commit 6618b46

Please sign in to comment.