1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using Xunit; 6 7 // Some tests launch processes. If other tests that run concurrently create inheritable pipes and the launched 8 // process inherits it, then the lifetime of those pipes will be extended beyond when the test expects, leading 9 // to failures due to naming conflicts and the like. On Unix this can happen even for non-inheritable pipes, as they're 10 // made non-inheritable via CLOEXEC, but there's still a small window between the process being forked and that 11 // forked process calling exec where the handle remains open in the other process. 12 [assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly, DisableTestParallelization = true, MaxParallelThreads = 1)] 13