From a7210c9938a22c3db3bce6d63546f9dac418b228 Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Wed, 26 Mar 2014 14:19:12 -0700 Subject: [PATCH] Test: Move xunit attribute to AssemblyInfo. --- .../Properties/AssemblyInfo.cs | 3 +++ test/Microsoft.AspNet.Server.WebListener.Test/Utilities.cs | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Microsoft.AspNet.Server.WebListener.Test/Properties/AssemblyInfo.cs b/test/Microsoft.AspNet.Server.WebListener.Test/Properties/AssemblyInfo.cs index 486c5d20cd..c596cb6438 100644 --- a/test/Microsoft.AspNet.Server.WebListener.Test/Properties/AssemblyInfo.cs +++ b/test/Microsoft.AspNet.Server.WebListener.Test/Properties/AssemblyInfo.cs @@ -40,3 +40,6 @@ using System.Runtime.InteropServices; // [assembly: AssemblyVersion("0.5")] [assembly: AssemblyVersion("0.5")] [assembly: AssemblyFileVersion("0.5.40117.0")] + +// These tests can't run in parallel because they all use the same port. +[assembly: Xunit.CollectionBehaviorAttribute(Xunit.CollectionBehavior.CollectionPerAssembly, DisableTestParallelization = true)] diff --git a/test/Microsoft.AspNet.Server.WebListener.Test/Utilities.cs b/test/Microsoft.AspNet.Server.WebListener.Test/Utilities.cs index adacfdf832..eba2edfd9e 100644 --- a/test/Microsoft.AspNet.Server.WebListener.Test/Utilities.cs +++ b/test/Microsoft.AspNet.Server.WebListener.Test/Utilities.cs @@ -4,9 +4,6 @@ using System.Threading.Tasks; using Microsoft.AspNet.Abstractions; using Microsoft.AspNet.Hosting.Server; -// These tests can't run in parallel because they all use the same port. -[assembly: Xunit.CollectionBehaviorAttribute(Xunit.CollectionBehavior.CollectionPerAssembly, DisableTestParallelization = true)] - namespace Microsoft.AspNet.Server.WebListener.Test { using AppFunc = Func;