@@ -23,7 +23,7 @@ public void Stage_should_materialize_without_error()
2323 var flow = Flow . FromGraph ( stage ) ;
2424
2525 var ( sourceQueue , sinkQueue ) = Source
26- . Queue < ITransportOutbound > ( 1 , OverflowStrategy . Fail )
26+ . Queue < List < ITransportOutbound > > ( 1 , OverflowStrategy . Fail )
2727 . ViaMaterialized ( flow , Keep . Left )
2828 . ToMaterialized ( Sink . Queue < ITransportInbound > ( ) , Keep . Both )
2929 . Run ( _materializer ) ;
@@ -55,13 +55,13 @@ public async Task Stage_should_pass_ConnectTransport_to_state_machine()
5555 var flow = Flow . FromGraph ( stage ) ;
5656
5757 var ( sourceQueue , _) = Source
58- . Queue < ITransportOutbound > ( 1 , OverflowStrategy . Fail )
58+ . Queue < List < ITransportOutbound > > ( 1 , OverflowStrategy . Fail )
5959 . ViaMaterialized ( flow , Keep . Left )
6060 . ToMaterialized ( Sink . Queue < ITransportInbound > ( ) , Keep . Both )
6161 . Run ( _materializer ) ;
6262
6363 // Push ConnectTransport
64- await sourceQueue . OfferAsync ( new ConnectTransport ( options ) ) ;
64+ await sourceQueue . OfferAsync ( new List < ITransportOutbound > { new ConnectTransport ( options ) } ) ;
6565
6666 // Expect Acquire message on TestActor from state machine
6767 var msg = ExpectMsg < QuicConnectionManagerActor . Acquire > ( TimeSpan . FromSeconds ( 2 ) ,
@@ -89,16 +89,16 @@ public async Task Stage_should_queue_inbound_when_outlet_not_pulled()
8989 var flow = Flow . FromGraph ( stage ) ;
9090
9191 var ( sourceQueue , sinkQueue ) = Source
92- . Queue < ITransportOutbound > ( 2 , OverflowStrategy . Fail )
92+ . Queue < List < ITransportOutbound > > ( 2 , OverflowStrategy . Fail )
9393 . ViaMaterialized ( flow , Keep . Left )
9494 . ToMaterialized ( Sink . Queue < ITransportInbound > ( ) , Keep . Both )
9595 . Run ( _materializer ) ;
9696
97- await sourceQueue . OfferAsync ( new ConnectTransport ( new QuicTransportOptions
97+ await sourceQueue . OfferAsync ( [ new ConnectTransport ( new QuicTransportOptions
9898 {
9999 Host = "localhost" ,
100100 Port = 443
101- } ) ) ;
101+ } ) ] ) ;
102102
103103 var msg = ExpectMsg < QuicConnectionManagerActor . Acquire > ( TimeSpan . FromSeconds ( 2 ) ,
104104 cancellationToken : TestContext . Current . CancellationToken ) ;
@@ -116,18 +116,18 @@ public async Task Stage_should_handle_downstream_finish_signal()
116116 var flow = Flow . FromGraph ( stage ) ;
117117
118118 var ( sourceQueue , _) = Source
119- . Queue < ITransportOutbound > ( 1 , OverflowStrategy . Fail )
119+ . Queue < List < ITransportOutbound > > ( 1 , OverflowStrategy . Fail )
120120 . ViaMaterialized ( flow , Keep . Left )
121121 . ToMaterialized ( Sink . Queue < ITransportInbound > ( ) , Keep . Both )
122122 . Run ( _materializer ) ;
123123
124124 // Test that the stage properly initializes and can handle lifecycle
125125 // The OnDownstreamFinish handler is called when downstream cancels
126- await sourceQueue . OfferAsync ( new ConnectTransport ( new QuicTransportOptions
126+ await sourceQueue . OfferAsync ( [ new ConnectTransport ( new QuicTransportOptions
127127 {
128128 Host = "localhost" ,
129129 Port = 443
130- } ) ) ;
130+ } ) ] ) ;
131131
132132 var msg = ExpectMsg < QuicConnectionManagerActor . Acquire > ( TimeSpan . FromSeconds ( 2 ) ,
133133 cancellationToken : TestContext . Current . CancellationToken ) ;
@@ -141,16 +141,16 @@ public async Task Stage_should_pull_inlet_after_inbound_push()
141141 var flow = Flow . FromGraph ( stage ) ;
142142
143143 var ( sourceQueue , _) = Source
144- . Queue < ITransportOutbound > ( 1 , OverflowStrategy . Fail )
144+ . Queue < List < ITransportOutbound > > ( 1 , OverflowStrategy . Fail )
145145 . ViaMaterialized ( flow , Keep . Left )
146146 . ToMaterialized ( Sink . Queue < ITransportInbound > ( ) , Keep . Both )
147147 . Run ( _materializer ) ;
148148
149- await sourceQueue . OfferAsync ( new ConnectTransport ( new QuicTransportOptions
149+ await sourceQueue . OfferAsync ( [ new ConnectTransport ( new QuicTransportOptions
150150 {
151151 Host = "localhost" ,
152152 Port = 443
153- } ) ) ;
153+ } ) ] ) ;
154154
155155 var msg = ExpectMsg < QuicConnectionManagerActor . Acquire > ( TimeSpan . FromSeconds ( 2 ) ,
156156 cancellationToken : TestContext . Current . CancellationToken ) ;
0 commit comments