Diable System.Net.Http.FunctionalTests parallel execution on UAP run (dotnet/corefx...
authorCaesar Chen <caesar1995@users.noreply.github.com>
Thu, 31 Jan 2019 23:55:40 +0000 (15:55 -0800)
committerGitHub <noreply@github.com>
Thu, 31 Jan 2019 23:55:40 +0000 (15:55 -0800)
* diable parallel execution

* fix format....

* address feedback

Commit migrated from https://github.com/dotnet/corefx/commit/5543097d8b6039dedffdcd8b8e713de38e5a1ece

src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj
src/libraries/System.Net.Http/tests/FunctionalTests/XUnitAssemblyAttributes.cs [new file with mode: 0644]

index cbb1723..dfcaa43 100644 (file)
     <Compile Include="MultiInterfaceReadOnlyStream.cs" />
     <Compile Include="MultiInterfaceStreamContent.cs" />
     <Compile Include="PostScenarioUWPTest.cs" />
+    <Compile Include="XUnitAssemblyAttributes.cs" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="$(CommonTestPath)\System\Diagnostics\RemoteExecutorConsoleApp\RemoteExecutorConsoleApp.csproj">
diff --git a/src/libraries/System.Net.Http/tests/FunctionalTests/XUnitAssemblyAttributes.cs b/src/libraries/System.Net.Http/tests/FunctionalTests/XUnitAssemblyAttributes.cs
new file mode 100644 (file)
index 0000000..c2e666b
--- /dev/null
@@ -0,0 +1,8 @@
+// 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;
+
+// [ActiveIssue(35002)]: Disable parallel execution of System.Net.Http.FunctionalTests on UAP test runs
+[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly, DisableTestParallelization = true)]