Skip to content

Commit

Permalink
Make OTel test run non-parallel (#7958)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejgordon committed Oct 2, 2023
1 parent e55d107 commit 71ae273
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
using System.Threading.Tasks;
using Tests.Core.Client;
using Tests.Domain;
using Xunit;

namespace Tests.ClientConcepts.OpenTelemetry;

[Collection(nameof(NonParallelCollection))]
public class ActivityTest
{
[U]
Expand Down Expand Up @@ -69,3 +71,6 @@ static void VerifyActivity(Activity oTelActivity, string operation, string url =
}
}
}

[CollectionDefinition(nameof(NonParallelCollection), DisableParallelization = true)]
public class NonParallelCollection { }

0 comments on commit 71ae273

Please sign in to comment.