We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24c3d21 commit 312620aCopy full SHA for 312620a
external/flume-sink/src/test/scala/org/apache/spark/streaming/flume/sink/SparkSinkSuite.scala
@@ -159,7 +159,7 @@ class SparkSinkSuite extends FunSuite {
159
channelContext.put("transactionCapacity", 1000.toString)
160
channelContext.put("keep-alive", 0.toString)
161
channelContext.putAll(overrides)
162
- channel.setName(getClass.getDeclaredMethods.toString)
+ channel.setName(scala.util.Random.nextString(10))
163
channel.configure(channelContext)
164
165
val sink = new SparkSink()
0 commit comments