Commit graph

17 commits

Author SHA1 Message Date
Roland Kuhn
819c1ef504 Merge remote-tracking branch 'pr/18985' into release-2.3-dev 2015-12-12 16:59:05 +01:00
Roland Kuhn
1500d1f36d !str #19005 make groupBy et al return a SubFlow
A SubFlow (or SubSource) is not a Graph, it is an unfinished builder
that accepts transformations. This allows us to capture the substreams’
transformations before materializing the flow, which will be very
helpful in fully fusing all operators.

Another change is that groupBy now requires a maxSubstreams parameter in
order to bound its resource usage. In exchange the matching merge can be
unbounded. This trades silent deadlock for explicit stream failure.

This commit also changes all uses of Predef.identity to use `conforms`
and removes the HTTP impl.util.identityFunc.
2015-12-10 12:27:16 +01:00
Alexander Golubev
d5cae10a67 +str #18556 add delay combinator 2015-11-27 15:46:35 -05:00
Alexander Golubev
83d3143236 +str #18556 add delay combinator 2015-11-26 15:58:38 -05:00
Roland Kuhn
556012b7ee !str,htc replace and remove OneBoundedInterpreter
main work by @drewhk with contributions from @2m and @rkuhn

This work uncovered many well-hidden bugs in existing Stages, in
particular StatefulStage. These were hidden by the behavior of
OneBoundedInterpreter that normally behaves more orderly than it
guarantees in general, especially with respect to the timeliness of
delivery of upstream termination signals; the bugs were then that
internal state was not flushed when onComplete arrived “too early”.
2015-11-01 14:53:52 +01:00
Johannes Rudolph
3193eb8009 +stk add TestSubscriber/Publisher.Probe.ensureSubscription to allow manual initialization
Otherwise, it is not possible to use `expectNoMsg()` as the first operation.
2015-10-09 13:00:26 +02:00
Alexander Golubev
e51b2e4aeb +str #18111 SubscriberEvent in stream-testkit is not visible 2015-09-29 10:09:13 -04:00
Konrad Malawski
f416e89edb =str fix double-dilation in StreamTestKit 2015-09-29 10:26:18 +02:00
Konrad Malawski
dcfbaed206 =str #18501 make TestSink.probe consistent in style with Sink.head
Also known as, we do not use () for those
2015-09-28 18:44:54 +02:00
Konrad Malawski
ab96ebfca0 +str #18501 improvements and fixes in StreamTestKit (adds toStrict) 2015-09-25 17:19:00 +02:00
Johannes Rudolph
51f1d36852 +stk add missing TestSubscriber.requestNext() method 2015-08-26 13:39:20 +02:00
Endre Sándor Varga
dc7269e620 Rename OperationAttributes to Attributes 2015-06-23 18:45:04 +02:00
Roland Kuhn
097a10edfc fix FlowStageSpec (and some boyscouting) 2015-06-19 16:26:53 +02:00
Roland Kuhn
d462cdd1b4 =str fix sub-upstream cancellation in concatAll
- ActorProcessor terminated eagerly when ConcatAll had just taken up a
  new input stream but not yet received onSubscribe for it

- The ActorProcessor eagerly shuts itself down upon onError and that
  cannot be changed without completely reworking the Pump, so I opted
  for just tracking the outstanding substreamSubscribers that have not
  yet seen OnSubscribe and making them cancel properly when that arrives
  (possibly later).
2015-06-19 16:26:48 +02:00
Endre Sándor Varga
f4c83771bb !str #17393: Make stream-tests pass with serialize-messages=on 2015-06-02 12:32:27 +02:00
Konrad Malawski
0aecf21c7a =str more robust dispatcher checking in FileSource specs 2015-04-24 12:27:48 +02:00
Martynas Mickevičius
8e2cc3e70f =str #17089 stream testkit 2015-04-24 12:25:54 +03:00