Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ namespace Sentry.Profiling.Tests;

#nullable enable

[Collection(nameof(ProfilingTestCollection))]
public class ProfilingSentryOptionsExtensionsTests
{
private readonly InMemoryDiagnosticLogger _logger = new();
Expand Down
6 changes: 6 additions & 0 deletions test/Sentry.Profiling.Tests/ProfilingTestCollection.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Sentry.Profiling.Tests;

[CollectionDefinition(nameof(ProfilingTestCollection), DisableParallelization = true)]
public sealed class ProfilingTestCollection
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Sentry.Profiling.Tests;

// Note: we must not run tests in parallel because we only support profiling one transaction at a time.
// That means setting up a test-collection with parallelization disabled and NOT using any async test functions.
[CollectionDefinition(nameof(SamplingTransactionProfilerTests), DisableParallelization = true)]
[Collection(nameof(ProfilingTestCollection))]
public class SamplingTransactionProfilerTests
{
private readonly TestOutputDiagnosticLogger _testOutputLogger;
Expand Down
Loading