Skip to content

Commit 202ec36

Browse files
committed
chore: remove automatic reco
1 parent 554ad2d commit 202ec36

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

projects/Test/Integration/Integration.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
4-
<TargetFrameworks>net8.0;net472</TargetFrameworks>
4+
<TargetFrameworks>net9.0;net472</TargetFrameworks>
55
<NoWarn>$(NoWarn);CA2007</NoWarn>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
</PropertyGroup>
88

99
<PropertyGroup Condition="!$([MSBuild]::IsOSPlatform('Windows'))">
10-
<TargetFramework>net8.0</TargetFramework>
10+
<TargetFramework>net9.0</TargetFramework>
1111
<NoWarn>$(NoWarn);CA2007</NoWarn>
1212
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1313
</PropertyGroup>

projects/Test/Integration/TestConnectionFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,6 @@ public async Task TestCreateConnectionWithFailureRecordException()
472472
new(RabbitMQActivitySource.ConnectionSourceName, "tcp connection attempt");
473473
tcpConnectionRecorder.VerifyParent = false;
474474
ConnectionFactory cf = CreateConnectionFactory();
475-
cf.AutomaticRecoveryEnabled = true;
476475
var unreachablePort = 1234;
477476
var ep = new AmqpTcpEndpoint("localhost", unreachablePort);
478477
var exception = await Assert.ThrowsAsync<BrokerUnreachableException>(() =>

0 commit comments

Comments
 (0)