Skip to content

Commit 6eaf823

Browse files
Merge pull request #1372 from rabbitmq/lukebakken/update-versions
Update package references
2 parents 5f155d1 + 01a4db9 commit 6eaf823

File tree

9 files changed

+15
-16
lines changed

9 files changed

+15
-16
lines changed

projects/Benchmarks/Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="BenchmarkDotNet" Version="0.13.5" />
18+
<PackageReference Include="BenchmarkDotNet" Version="0.13.7" />
1919
<PackageReference Include="Ductus.FluentDocker" Version="2.10.59" />
2020
</ItemGroup>
2121

projects/RabbitMQ.Client/RabbitMQ.Client.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
</ItemGroup>
5858

5959
<ItemGroup>
60-
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.1" PrivateAssets="all" />
6160
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="all" />
6261
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
6362
<PackageReference Include="MinVer" Version="4.3.0" PrivateAssets="all" />

projects/Unit/TestAuth.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void TestAuthFailure()
5151
try
5252
{
5353
connFactory.CreateConnection();
54-
Assert.True(false, "Exception caused by authentication failure expected");
54+
Assert.Fail("Exception caused by authentication failure expected");
5555
}
5656
catch (BrokerUnreachableException bue)
5757
{

projects/Unit/TestConnectionBlocked.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void TestConnectionBlockedNotification()
7070

7171
if (!_notified)
7272
{
73-
Assert.True(false, "Unblock notification not received.");
73+
Assert.Fail("Unblock notification not received.");
7474
}
7575
}
7676
finally
@@ -92,7 +92,7 @@ public void TestDisposeOnBlockedConnectionDoesNotHang()
9292

9393
if (!_connDisposed.Wait(TimeSpan.FromSeconds(20)))
9494
{
95-
Assert.True(false, "Dispose must have finished within 20 seconds after starting");
95+
Assert.Fail("Dispose must have finished within 20 seconds after starting");
9696
}
9797
}
9898
finally

projects/Unit/TestConnectionRecovery.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ public void TestCreateChannelOnClosedAutorecoveringConnectionDoesNotHang()
476476
WaitForShutdown(c);
477477
Assert.False(c.IsOpen);
478478
c.CreateChannel();
479-
Assert.True(false, "Expected an exception");
479+
Assert.Fail("Expected an exception");
480480
}
481481
catch (AlreadyClosedException)
482482
{
@@ -785,7 +785,7 @@ public void TestRecoveryWithTopologyDisabled()
785785
CloseAndWaitForRecovery(conn);
786786
Assert.True(ch.IsOpen);
787787
ch.QueueDeclarePassive(s);
788-
Assert.True(false, "Expected an exception");
788+
Assert.Fail("Expected an exception");
789789
}
790790
catch (OperationInterruptedException)
791791
{
@@ -1015,7 +1015,7 @@ public void TestThatDeletedExchangesDontReappearOnRecovery()
10151015
CloseAndWaitForRecovery();
10161016
Assert.True(_channel.IsOpen);
10171017
_channel.ExchangeDeclarePassive(x);
1018-
Assert.True(false, "Expected an exception");
1018+
Assert.Fail("Expected an exception");
10191019
}
10201020
catch (OperationInterruptedException e)
10211021
{
@@ -1065,7 +1065,7 @@ public void TestThatDeletedQueuesDontReappearOnRecovery()
10651065
CloseAndWaitForRecovery();
10661066
Assert.True(_channel.IsOpen);
10671067
_channel.QueueDeclarePassive(q);
1068-
Assert.True(false, "Expected an exception");
1068+
Assert.Fail("Expected an exception");
10691069
}
10701070
catch (OperationInterruptedException e)
10711071
{

projects/Unit/TestFloodPublishing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public async Task TestUnthrottledFloodPublishingAsync()
7272
{
7373
if (args.Initiator != ShutdownInitiator.Application)
7474
{
75-
Assert.True(false, "Unexpected connection shutdown!");
75+
Assert.Fail("Unexpected connection shutdown!");
7676
}
7777
};
7878

projects/Unit/TestHeartbeats.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ private void CheckInitiator(ShutdownEventArgs evt)
153153
string s = string.Format("Shutdown: {0}, initiated by: {1}",
154154
evt, evt.Initiator);
155155
Console.WriteLine(s);
156-
Assert.True(false, s);
156+
Assert.Fail(s);
157157
}
158158
}
159159

projects/Unit/TestPublishSharedChannel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public async Task MultiThreadPublishOnSharedChannel()
6666
{
6767
if (args.Initiator != ShutdownInitiator.Application)
6868
{
69-
Assert.True(false, "Unexpected connection shutdown!");
69+
Assert.Fail("Unexpected connection shutdown!");
7070
}
7171
};
7272

projects/Unit/Unit.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@
2020
</ItemGroup>
2121

2222
<ItemGroup>
23-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
23+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
2424
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
2525
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2626
<PrivateAssets>all</PrivateAssets>
2727
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2828
<PrivateAssets>all</PrivateAssets>
2929
</PackageReference>
3030
<PackageReference Include="PublicApiGenerator" Version="11.0.0" />
31-
<PackageReference Include="xunit" Version="2.4.2" />
32-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
31+
<PackageReference Include="xunit" Version="2.5.0" />
32+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
3333
<PrivateAssets>all</PrivateAssets>
3434
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3535
</PackageReference>
36-
<PackageReference Include="Verify.Xunit" Version="19.11.2" />
36+
<PackageReference Include="Verify.Xunit" Version="20.8.0" />
3737
<PackageReference Include="Xunit.SkippableFact" Version="1.4.13" />
3838
</ItemGroup>
3939

0 commit comments

Comments
 (0)