Skip to content

Commit

Permalink
Fixing the unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
harishreedharan committed Jul 23, 2014
1 parent e59cc20 commit 65b76b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ import org.apache.spark.streaming.flume.sink._
executorCompletion.take()
}
val startTime = System.currentTimeMillis()
while (outputBuffer.size < 5 * channels.size &&
while (outputBuffer.size < 5 &&
System.currentTimeMillis() - startTime < 15000) {
logInfo("output.size = " + outputBuffer.size)
Thread.sleep(100)
Expand Down

0 comments on commit 65b76b4

Please sign in to comment.