@@ -440,9 +440,9 @@ public async Task TestCreateConnectionAsync_TruncatesWhenClientNameIsLong_GH980(
440440 public async Task TestCreateConnectionRegisterAnActivity ( )
441441 {
442442 using ActivityRecorder connectionRecorder =
443- new ( RabbitMQActivitySource . ConnectionSourceName , "connection attempt" ) ;
443+ new ( RabbitMQActivitySource . ConnectionSourceName , "connection attempt" ) ;
444444 using ActivityRecorder tcpConnectionRecorder =
445- new ( RabbitMQActivitySource . ConnectionSourceName , "tcp connection attempt" ) ;
445+ new ( RabbitMQActivitySource . ConnectionSourceName , "tcp connection attempt" ) ;
446446 tcpConnectionRecorder . VerifyParent = false ;
447447 ConnectionFactory cf = CreateConnectionFactory ( ) ;
448448 await using IConnection conn = await cf . CreateConnectionAsync ( ) ;
@@ -456,17 +456,17 @@ public async Task TestCreateConnectionRegisterAnActivity()
456456 public async Task TestCreateConnectionWithFailureRecordException ( )
457457 {
458458 using ActivityRecorder recorder =
459- new ( RabbitMQActivitySource . ConnectionSourceName , "connection attempt" ) ;
459+ new ( RabbitMQActivitySource . ConnectionSourceName , "connection attempt" ) ;
460460 using ActivityRecorder tcpConnectionRecorder =
461- new ( RabbitMQActivitySource . ConnectionSourceName , "tcp connection attempt" ) ;
461+ new ( RabbitMQActivitySource . ConnectionSourceName , "tcp connection attempt" ) ;
462462 tcpConnectionRecorder . VerifyParent = false ;
463463 ConnectionFactory cf = CreateConnectionFactory ( ) ;
464464 cf . AutomaticRecoveryEnabled = true ;
465465 var unreachablePort = 1234 ;
466466 var ep = new AmqpTcpEndpoint ( "localhost" , unreachablePort ) ;
467467 var exception = await Assert . ThrowsAsync < BrokerUnreachableException > ( ( ) =>
468468 {
469- return cf . CreateConnectionAsync ( new List < AmqpTcpEndpoint > { ep } ) ;
469+ return cf . CreateConnectionAsync ( new List < AmqpTcpEndpoint > { ep } ) ;
470470 } ) ;
471471 Activity connectionActivity = recorder . VerifyActivityRecordedOnce ( ) ;
472472 connectionActivity . HasRecordedException ( exception ) ;
0 commit comments