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;