Re-enable tests

This commit is contained in:
Brennan Conroy 2019-11-11 10:07:02 -08:00
parent 6caada9c14
commit f8ed1185e4
3 changed files with 6 additions and 3 deletions

View File

@ -22,7 +22,8 @@ namespace Microsoft.DotNet.Watcher.Tools.FunctionalTests
_app = new KitchenSinkApp(logger); _app = new KitchenSinkApp(logger);
} }
[Fact(Skip = "https://github.com/aspnet/AspNetCore/issues/16912")] [ConditionalFact]
[SkipOnHelix("https://github.com/aspnet/AspNetCore/issues/8267")]
public async Task RunsWithDotnetWatchEnvVariable() public async Task RunsWithDotnetWatchEnvVariable()
{ {
Assert.True(string.IsNullOrEmpty(Environment.GetEnvironmentVariable("DOTNET_WATCH")), "DOTNET_WATCH cannot be set already when this test is running"); Assert.True(string.IsNullOrEmpty(Environment.GetEnvironmentVariable("DOTNET_WATCH")), "DOTNET_WATCH cannot be set already when this test is running");

View File

@ -85,7 +85,8 @@ namespace Microsoft.DotNet.Watcher.Tools.FunctionalTests
await _app.HasRestarted(); await _app.HasRestarted();
} }
[Fact(Skip = "https://github.com/aspnet/AspNetCore/issues/16912")] [ConditionalFact]
[SkipOnHelix("https://github.com/aspnet/AspNetCore/issues/8267")]
public async Task ChangeExcludedFile() public async Task ChangeExcludedFile()
{ {
await _app.StartWatcherAsync(); await _app.StartWatcherAsync();

View File

@ -42,7 +42,8 @@ namespace Microsoft.DotNet.Watcher.Tools.FunctionalTests
Assert.NotEqual(processIdentifier, processIdentifier2); Assert.NotEqual(processIdentifier, processIdentifier2);
} }
[Fact(Skip = "https://github.com/aspnet/AspNetCore/issues/16912")] [ConditionalFact]
[SkipOnHelix("https://github.com/aspnet/AspNetCore/issues/8267")]
public async Task RestartProcessThatTerminatesAfterFileChange() public async Task RestartProcessThatTerminatesAfterFileChange()
{ {
await _app.StartWatcherAsync(); await _app.StartWatcherAsync();