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="xunit" Version="$(XunitPackageVersion)" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="$(XunitRunnerVisualStudioPackageVersion)" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Testing" Version="$(MicrosoftAspNetCoreTestingPackageVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ using System.Diagnostics;
|
|||
using System.IO;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Testing.xunit;
|
||||
using Moq;
|
||||
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
|
||||
/// completion.
|
||||
/// </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()
|
||||
{
|
||||
// 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()
|
||||
{
|
||||
// Arrange
|
||||
|
|
|
|||
Loading…
Reference in New Issue