Files
dotnet-runtime/src/libraries/System.Threading.Tasks.Parallel/tests/XunitAssemblyAttributes.cs
T

10 lines
515 B
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
// Parallel loops are more likely to be serialized if tests are allowed to run in parallel.
// Further, ETW tests must not be run concurrently with any other tests.
[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly, DisableTestParallelization = true, MaxParallelThreads = 1)]