Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 2013007

Browse files
committed
Merge pull request #2716 from stephentoub/disable_fsw_parallel
Disable parallelization of FSW tests
2 parents 88beb44 + 83decea commit 2013007

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/System.IO.FileSystem.Watcher/tests/System.IO.FileSystem.Watcher.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
<Compile Include="FileSystemEventArgs.unit.cs" />
3434
<Compile Include="FileSystemWatcher.unit.cs" />
3535
<Compile Include="RenamedEventArgs.unit.cs" />
36+
<Compile Include="XunitAssemblyAttributes.cs" />
3637
</ItemGroup>
3738
<ItemGroup>
3839
<None Include="project.json" />
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright (c) Microsoft. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
using Xunit;
5+
6+
// Disable parallelization of FileSystemWatcher tests
7+
[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly, DisableTestParallelization = true, MaxParallelThreads = 1)]

0 commit comments

Comments
 (0)