Skip only on non-windows
This commit is contained in:
parent
399216730a
commit
b677a9e43f
|
|
@ -13,6 +13,7 @@
|
||||||
<PackageReference Include="Moq" Version="$(MoqPackageVersion)" />
|
<PackageReference Include="Moq" Version="$(MoqPackageVersion)" />
|
||||||
<PackageReference Include="xunit" Version="$(XunitPackageVersion)" />
|
<PackageReference Include="xunit" Version="$(XunitPackageVersion)" />
|
||||||
<PackageReference Include="xunit.runner.visualstudio" Version="$(XunitRunnerVisualStudioPackageVersion)" />
|
<PackageReference Include="xunit.runner.visualstudio" Version="$(XunitRunnerVisualStudioPackageVersion)" />
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.Testing" Version="$(MicrosoftAspNetCoreTestingPackageVersion)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Microsoft.AspNetCore.Testing.xunit;
|
||||||
using Moq;
|
using Moq;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
|
|
@ -115,7 +116,10 @@ namespace Microsoft.AspNetCore.Razor.Tools
|
||||||
/// A shutdown request should not abort an existing compilation. It should be allowed to run to
|
/// A shutdown request should not abort an existing compilation. It should be allowed to run to
|
||||||
/// completion.
|
/// completion.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact(Skip = "https://github.com/aspnet/Razor/issues/1991")]
|
// Skipping temporarily on non-windows. https://github.com/aspnet/Razor/issues/1991
|
||||||
|
[ConditionalFact]
|
||||||
|
[OSSkipCondition(OperatingSystems.Linux)]
|
||||||
|
[OSSkipCondition(OperatingSystems.MacOSX)]
|
||||||
public async Task ServerRunning_ShutdownRequest_DoesNotAbortCompilation()
|
public async Task ServerRunning_ShutdownRequest_DoesNotAbortCompilation()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
|
|
@ -188,7 +192,10 @@ namespace Microsoft.AspNetCore.Razor.Tools
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact(Skip = "https://github.com/aspnet/Razor/issues/1991")]
|
// Skipping temporarily on non-windows. https://github.com/aspnet/Razor/issues/1991
|
||||||
|
[ConditionalFact]
|
||||||
|
[OSSkipCondition(OperatingSystems.Linux)]
|
||||||
|
[OSSkipCondition(OperatingSystems.MacOSX)]
|
||||||
public async Task ServerRunning_CancelCompilation_CancelsSuccessfully()
|
public async Task ServerRunning_CancelCompilation_CancelsSuccessfully()
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue