Skip to content

Commit 65b76b4

Browse files
Fixing the unit test.
1 parent e59cc20 commit 65b76b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external/flume/src/test/scala/org/apache/spark/streaming/flume/FlumePollingStreamSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ import org.apache.spark.streaming.flume.sink._
127127
executorCompletion.take()
128128
}
129129
val startTime = System.currentTimeMillis()
130-
while (outputBuffer.size < 5 * channels.size &&
130+
while (outputBuffer.size < 5 &&
131131
System.currentTimeMillis() - startTime < 15000) {
132132
logInfo("output.size = " + outputBuffer.size)
133133
Thread.sleep(100)

0 commit comments

Comments
 (0)