@@ -215,7 +215,7 @@ await RunClientServer(
215215 using QuicStream clientStream = clientConnection . OpenBidirectionalStream ( ) ;
216216 await DoWrites ( clientStream , writesBeforeClose ) ;
217217
218- // Wait for peer to receive data
218+ // Wait for peer to receive data
219219 await sync . WaitAsync ( ) ;
220220
221221 await clientConnection . CloseAsync ( ExpectedErrorCode ) ;
@@ -262,7 +262,7 @@ await RunClientServer(
262262 using QuicStream clientStream = clientConnection . OpenBidirectionalStream ( ) ;
263263 await DoWrites ( clientStream , writesBeforeClose ) ;
264264
265- // Wait for peer to receive data
265+ // Wait for peer to receive data
266266 await sync . WaitAsync ( ) ;
267267
268268 clientConnection . Dispose ( ) ;
@@ -279,8 +279,8 @@ await RunClientServer(
279279
280280 // The client has done an abortive shutdown of the connection, which means we are not notified that the connection has closed.
281281 // But the connection idle timeout should kick in and eventually we will get exceptions.
282- await Assert . ThrowsAsync < QuicOperationAbortedException > ( async ( ) => await serverStream . ReadAsync ( new byte [ 1 ] ) ) ;
283- await Assert . ThrowsAsync < QuicOperationAbortedException > ( async ( ) => await serverStream . WriteAsync ( new byte [ 1 ] ) ) ;
282+ await Assert . ThrowsAsync < QuicConnectionAbortedException > ( async ( ) => await serverStream . ReadAsync ( new byte [ 1 ] ) ) ;
283+ await Assert . ThrowsAsync < QuicConnectionAbortedException > ( async ( ) => await serverStream . WriteAsync ( new byte [ 1 ] ) ) ;
284284 } , listenerOptions : listenerOptions ) ;
285285 }
286286 }
0 commit comments