Skip to content

Commit 8495965

Browse files
committed
Work around the nUnit bug
1 parent 76a009b commit 8495965

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/BenchmarkDotNet.Tests/Validators/ExecutionValidatorTests.cs

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
namespace BenchmarkDotNet.Tests.Validators
1212
{
13+
[Collection("Disable parallelism due to a bug: https://github.com/xunit/xunit/issues/2587")]
1314
public class ExecutionValidatorTests
1415
{
1516
[Fact]

tests/BenchmarkDotNet.Tests/Validators/ReturnValueValidatorTests.cs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace BenchmarkDotNet.Tests.Validators
1313
{
14+
[Collection("Disable parallelism due to a bug: https://github.com/xunit/xunit/issues/2587")]
1415
public class ReturnValueValidatorTests
1516
{
1617
private const string ErrorMessagePrefix = "Inconsistent benchmark return values";

0 commit comments

Comments
 (0)