Skip to content

Commit 71ae273

Browse files
authored
Make OTel test run non-parallel (#7958)
1 parent e55d107 commit 71ae273

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Tests/ClientConcepts/OpenTelemetry/OpenTelemetryTests.cs

+5
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
using System.Threading.Tasks;
77
using Tests.Core.Client;
88
using Tests.Domain;
9+
using Xunit;
910

1011
namespace Tests.ClientConcepts.OpenTelemetry;
1112

13+
[Collection(nameof(NonParallelCollection))]
1214
public class ActivityTest
1315
{
1416
[U]
@@ -69,3 +71,6 @@ static void VerifyActivity(Activity oTelActivity, string operation, string url =
6971
}
7072
}
7173
}
74+
75+
[CollectionDefinition(nameof(NonParallelCollection), DisableParallelization = true)]
76+
public class NonParallelCollection { }

0 commit comments

Comments
 (0)