Skip to content

Commit f54fe57

Browse files
committed
2
1 parent 1b3c5f1 commit f54fe57

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

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

Lines changed: 1 addition & 25 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")
@@ -524,30 +524,6 @@ public async Task BlazorWasm_Restart()
524524
await App.WaitUntilOutputContains($"dotnet watch ⌚ Reloading browser.");
525525
}
526526

527-
[Fact]
528-
public async Task BlazorWasmHosted()
529-
{
530-
var testAsset = TestAssets.CopyTestAsset("WatchBlazorWasmHosted")
531-
.WithSource();
532-
533-
var tfm = ToolsetInfo.CurrentTargetFramework;
534-
535-
var port = TestOptions.GetTestPort();
536-
App.Start(testAsset, ["--urls", "http://localhost:" + port], "blazorhosted", testFlags: TestFlags.MockBrowser);
537-
538-
await App.AssertWaitingForChanges();
539-
540-
App.AssertOutputContains(MessageDescriptor.ConfiguredToUseBrowserRefresh);
541-
App.AssertOutputContains(MessageDescriptor.ConfiguredToLaunchBrowser);
542-
App.AssertOutputContains("dotnet watch 🔥 HotReloadProfile: BlazorHosted");
543-
544-
// client capabilities:
545-
App.AssertOutputContains($"dotnet watch ⌚ [blazorhosted ({tfm})] Project 'blazorwasm ({tfm})' specifies capabilities: 'Baseline AddMethodToExistingType AddStaticFieldToExistingType NewTypeDefinition ChangeCustomAttributes AddInstanceFieldToExistingType GenericAddMethodToExistingType GenericUpdateMethod UpdateParameters GenericAddFieldToExistingType'");
546-
547-
// server capabilities:
548-
App.AssertOutputContains($"dotnet watch ⌚ [blazorhosted ({tfm})] Capabilities: 'Baseline AddMethodToExistingType AddStaticFieldToExistingType AddInstanceFieldToExistingType NewTypeDefinition ChangeCustomAttributes UpdateParameters GenericUpdateMethod GenericAddMethodToExistingType GenericAddFieldToExistingType AddFieldRva'");
549-
}
550-
551527
[PlatformSpecificFact(TestPlatforms.Windows)] // "https://github.com/dotnet/sdk/issues/49307")
552528
public async Task BlazorWasmHosted()
553529
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ public enum UpdateLocation
393393
TopFunction,
394394
}
395395

396-
[PlatformSpecificTheory(TestPlatforms.Windows)] // https://github.com/dotnet/sdk/issues/49307
396+
[Theory]
397397
[CombinatorialData]
398398
public async Task HostRestart(UpdateLocation updateLocation)
399399
{

0 commit comments

Comments
 (0)