GroupedWithin cold emit fix (#22407)

* groupedWithin cold emit fix

* lowered numbers in tests; removed meaningless assertions
This commit is contained in:
Sergey 2017-03-14 15:45:45 +03:00 committed by Patrik Nordwall
parent d91fe59566
commit ba213b7fee
2 changed files with 13 additions and 1 deletions

View file

@ -1414,7 +1414,7 @@ final class GroupedWithin[T](val n: Int, val d: FiniteDuration) extends GraphSta
// AND
// - timer fired OR group is full
private var groupClosed = false
private var groupEmitted = false
private var groupEmitted = true
private var finished = false
private var elements = 0