Skip to content

Commit

Permalink
Update to NUnit 4.3.0, remove netstandard2.0 target
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrzesniewski committed Dec 20, 2024
1 parent 6d377c1 commit cd7b0a7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Abc.Zebus.Testing/Abc.Zebus.Testing.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net48;net6.0;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net48;net6.0</TargetFrameworks>
<PackageId>Zebus.Testing</PackageId>
<Description>Test tools for Zebus</Description>
<Version>$(ZebusTestingVersion)</Version>
Expand All @@ -14,7 +14,7 @@
<PackageReference Include="AutoFixture" Version="4.17.0" />
<PackageReference Include="CompareNETObjects" Version="4.71.0" />
<PackageReference Include="Moq" Version="4.17.2" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit" Version="4.3.0" />
<PackageReference Include="System.Management" Version="6.0.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Abc.Zebus.Tests.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit" Version="4.3.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />

<!-- This updates an older version referenced by log4net -->
Expand Down
2 changes: 1 addition & 1 deletion src/Abc.Zebus.Tests/Dispatch/DispatchQueueTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ public void should_reset_local_dispatch_status()
task.Result.Errors.ShouldBeEmpty();
}

[Test, Timeout(5000)]
[Test]
public void should_not_wait_for_all_messages_processed_when_not_started()
{
_dispatchQueue.WaitUntilAllMessagesAreProcessed();
Expand Down
1 change: 0 additions & 1 deletion src/Abc.Zebus.Tests/Transport/ZmqTransportTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ public void should_receive_many_messages()
}
}

[Timeout(10 * 60 * 1000)]
[TestCase(10)]
[TestCase(25)]
// Cases with high peer counts are too slow to run automatically, but they are required to validate edge cases.
Expand Down

0 comments on commit cd7b0a7

Please sign in to comment.