From d6e31afb2d8e8b5fe9fefd9b0bc3c3c673c3861e Mon Sep 17 00:00:00 2001 From: Caesar Chen Date: Thu, 31 Jan 2019 15:55:40 -0800 Subject: [PATCH] Diable System.Net.Http.FunctionalTests parallel execution on UAP run (dotnet/corefx#35004) * diable parallel execution * fix format.... * address feedback Commit migrated from https://github.com/dotnet/corefx/commit/5543097d8b6039dedffdcd8b8e713de38e5a1ece --- .../tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj | 1 + .../tests/FunctionalTests/XUnitAssemblyAttributes.cs | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 src/libraries/System.Net.Http/tests/FunctionalTests/XUnitAssemblyAttributes.cs diff --git a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj index cbb1723..dfcaa43 100644 --- a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj +++ b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj @@ -149,6 +149,7 @@ + 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 index 0000000..c2e666b --- /dev/null +++ b/src/libraries/System.Net.Http/tests/FunctionalTests/XUnitAssemblyAttributes.cs @@ -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)] -- 2.7.4