+str: fusable fan-in and fan-out ops
This commit is contained in:
parent
cc661409f9
commit
26680c3477
18 changed files with 456 additions and 629 deletions
|
|
@ -80,7 +80,7 @@ class FlowGraphDocSpec extends AkkaSpec {
|
|||
// unconnected zip.out (!) => "must have at least 1 outgoing edge"
|
||||
}
|
||||
//#simple-graph
|
||||
}.getMessage should include("unconnected ports: Zip.out")
|
||||
}.getMessage should include("unconnected ports: ZipWith2.out")
|
||||
}
|
||||
|
||||
"reusing a flow in a graph" in {
|
||||
|
|
|
|||
|
|
@ -50,10 +50,12 @@ class RecipeKeepAlive extends RecipeSpec {
|
|||
sub.expectNext(ByteString(1))
|
||||
subscription.request(2)
|
||||
sub.expectNext(ByteString(2))
|
||||
sub.expectNext(ByteString(3))
|
||||
// This still gets through because there is some intrinsic fairness caused by the FIFO queue in the interpreter
|
||||
// Expecting here a preferred element also only worked true accident with the old Pump.
|
||||
sub.expectNext(keepaliveMessage)
|
||||
|
||||
subscription.request(1)
|
||||
sub.expectNext(keepaliveMessage)
|
||||
sub.expectNext(ByteString(3))
|
||||
|
||||
subscription.request(1)
|
||||
tickPub.sendNext(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue