Skip to content

Commit 34ae4f2

Browse files
author
v-wuzhai
authored
Skip failing dotnet-watch tests (#49357)
2 parents 1a2c7af + 2edec69 commit 34ae4f2

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

test/dotnet-watch.Tests/HotReload/ApplyDeltaTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public async Task AutoRestartOnRudeEdit(bool nonInteractive)
105105
App.AssertOutputContains($"[WatchHotReloadApp ({ToolsetInfo.CurrentTargetFramework})] Launched");
106106
}
107107

108-
[Fact]
108+
[Fact(Skip = "https://github.com/dotnet/sdk/issues/49307")]
109109
public async Task AutoRestartOnRudeEditAfterRestartPrompt()
110110
{
111111
var testAsset = TestAssets.CopyTestAsset("WatchHotReloadApp")
@@ -146,7 +146,7 @@ public async Task AutoRestartOnRudeEditAfterRestartPrompt()
146146
App.AssertOutputContains($"[WatchHotReloadApp ({ToolsetInfo.CurrentTargetFramework})] Launched");
147147
}
148148

149-
[Theory]
149+
[Theory(Skip = "https://github.com/dotnet/sdk/issues/49307")]
150150
[CombinatorialData]
151151
public async Task AutoRestartOnNoEffectEdit(bool nonInteractive)
152152
{
@@ -215,7 +215,7 @@ public async Task BaselineCompilationError()
215215
/// We currently do not support applying project changes.
216216
/// The workaround is to restart via Ctrl+R.
217217
/// </summary>
218-
[Fact]
218+
[Fact(Skip = "https://github.com/dotnet/sdk/issues/49307")]
219219
public async Task ProjectChangeAndRestart()
220220
{
221221
var testAsset = TestAssets.CopyTestAsset("WatchNoDepsApp")
@@ -269,7 +269,7 @@ public async Task ChangeFileInFSharpProject()
269269
await App.AssertOutputLineStartsWith("<Updated>");
270270
}
271271

272-
[Fact]
272+
[Fact(Skip = "https://github.com/dotnet/sdk/issues/49307")]
273273
public async Task ChangeFileInFSharpProjectWithLoop()
274274
{
275275
var testAsset = TestAssets.CopyTestAsset("FSharpTestAppSimple")
@@ -757,7 +757,7 @@ public static void PrintDirectoryName([CallerFilePathAttribute] string filePath
757757
await App.AssertOutputLineStartsWith("> NewSubdir");
758758
}
759759

760-
[Fact]
760+
[Fact(Skip = "https://github.com/dotnet/sdk/issues/49307")]
761761
public async Task Aspire()
762762
{
763763
var tfm = ToolsetInfo.CurrentTargetFramework;

test/dotnet-watch.Tests/HotReload/RuntimeProcessLauncherTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private RunningWatcher StartWatcher(TestAsset testAsset, string[] args, string w
134134
return new RunningWatcher(this, watcher, watchTask, reporter, console, serviceHolder, shutdownSource);
135135
}
136136

137-
[Theory]
137+
[Theory(Skip = "https://github.com/dotnet/sdk/issues/49307")]
138138
[CombinatorialData]
139139
public async Task UpdateAndRudeEdit(TriggerEvent trigger)
140140
{
@@ -295,7 +295,7 @@ async Task MakeRudeEditChange()
295295
}
296296
}
297297

298-
[Theory]
298+
[Theory(Skip = "https://github.com/dotnet/sdk/issues/49307")]
299299
[CombinatorialData]
300300
public async Task UpdateAppliedToNewProcesses(bool sharedOutput)
301301
{
@@ -394,7 +394,7 @@ public enum UpdateLocation
394394
TopFunction,
395395
}
396396

397-
[Theory]
397+
[Theory(Skip = "https://github.com/dotnet/sdk/issues/49307")]
398398
[CombinatorialData]
399399
public async Task HostRestart(UpdateLocation updateLocation)
400400
{
@@ -485,7 +485,7 @@ public static void Print()
485485
await hasUpdate.WaitAsync(w.ShutdownSource.Token);
486486
}
487487

488-
[Fact]
488+
[Fact(Skip = "https://github.com/dotnet/sdk/issues/49307")]
489489
public async Task RudeEditInProjectWithoutRunningProcess()
490490
{
491491
var testAsset = CopyTestAsset("WatchAppMultiProc");

0 commit comments

Comments
 (0)