Skip to content

Commit 0adb380

Browse files
committed
Part of #95
* Start implementing support for connecting to ClusterTests * Start adding Uris to ConnectionSettings. * Add ClusterTests file. * Set `TestTfmsInParallel` so that `dotnet test` does not execute tests in parallel for `net8.0` and `net462` * Begin adding support to create `ConnectionSettings` from `Uri`s * Rename `ConnectionSettingBuilder` to `ConnectionSettingsBuilder` * Correctly implement `IEquatable` for `ConnectionSettings` * Run in parallel by TFM, by generating a short UUID for entity names.
1 parent f57ae22 commit 0adb380

32 files changed

+590
-501
lines changed

Directory.Build.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2323
<RepositoryType>git</RepositoryType>
2424
<RepositoryUrl>https://github.com/rabbitmq/rabbitmq-amqp-dotnet-client</RepositoryUrl>
25+
<!--
26+
NOTE: un-comment this if it appears that connections or other entities that should be unique
27+
are created at the same time. .NET 9 runs parallel test suites per-TFM
28+
https://github.com/dotnet/sdk/issues/39470
29+
<TestTfmsInParallel>false</TestTfmsInParallel>
30+
-->
2531
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2632
<LangVersion>default</LangVersion>
2733
</PropertyGroup>

Directory.Packages.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
* https://github.com/rabbitmq/rabbitmq-dotnet-client/pull/1594
3030
-->
3131
<PackageVersion Include="System.Runtime.CompilerServices.Unsafe" Version="6.1.0" />
32+
<PackageVersion Include="Microsoft.Bcl.HashCode" Version="6.0.0" />
3233
</ItemGroup>
3334
<ItemGroup Condition="'$(TargetFrameworkIdentifier)'=='.NETFramework'">
3435
<GlobalPackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" />
@@ -38,4 +39,4 @@
3839
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
3940
<GlobalPackageReference Include="MinVer" Version="6.0.0" />
4041
</ItemGroup>
41-
</Project>
42+
</Project>

0 commit comments

Comments
 (0)