Test: Move xunit attribute to AssemblyInfo.
This commit is contained in:
parent
aed5b9a1c9
commit
a7210c9938
|
|
@ -40,3 +40,6 @@ using System.Runtime.InteropServices;
|
||||||
// [assembly: AssemblyVersion("0.5")]
|
// [assembly: AssemblyVersion("0.5")]
|
||||||
[assembly: AssemblyVersion("0.5")]
|
[assembly: AssemblyVersion("0.5")]
|
||||||
[assembly: AssemblyFileVersion("0.5.40117.0")]
|
[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)]
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ using System.Threading.Tasks;
|
||||||
using Microsoft.AspNet.Abstractions;
|
using Microsoft.AspNet.Abstractions;
|
||||||
using Microsoft.AspNet.Hosting.Server;
|
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
|
namespace Microsoft.AspNet.Server.WebListener.Test
|
||||||
{
|
{
|
||||||
using AppFunc = Func<object, Task>;
|
using AppFunc = Func<object, Task>;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue