diff --git a/src/mono/wasm/Wasm.Build.Tests/TestAppScenarios/SignalRClientTests.cs b/src/mono/wasm/Wasm.Build.Tests/TestAppScenarios/SignalRClientTests.cs index 10ba63099d6be2..b1e46d5110067d 100644 --- a/src/mono/wasm/Wasm.Build.Tests/TestAppScenarios/SignalRClientTests.cs +++ b/src/mono/wasm/Wasm.Build.Tests/TestAppScenarios/SignalRClientTests.cs @@ -24,7 +24,6 @@ public SignalRClientTests(ITestOutputHelper output, SharedBuildPerTestClassFixtu } [ConditionalTheory(typeof(BuildTestBase), nameof(IsWorkloadWithMultiThreadingForDefaultFramework))] - [ActiveIssue("https://github.com/dotnet/runtime/issues/99268", TestPlatforms.Windows)] [InlineData("Debug", "LongPolling")] [InlineData("Release", "LongPolling")] [InlineData("Debug", "WebSockets")] diff --git a/src/mono/wasm/testassets/BlazorHostedApp/BlazorHosted.Client/Pages/Chat.razor b/src/mono/wasm/testassets/BlazorHostedApp/BlazorHosted.Client/Pages/Chat.razor index d8908fd4a9f99f..635ef2d738eed8 100644 --- a/src/mono/wasm/testassets/BlazorHostedApp/BlazorHosted.Client/Pages/Chat.razor +++ b/src/mono/wasm/testassets/BlazorHostedApp/BlazorHosted.Client/Pages/Chat.razor @@ -84,10 +84,7 @@ private async Task SendExitSignal() { - // exit the server - await _hubConnection.SendAsync("Exit", 0); await DisposeHubConnection(); - Helper.TestOutputWriteLine($"Exit signal was sent by CurrentManagedThreadId={Environment.CurrentManagedThreadId}"); // exit the client await JSRuntime.InvokeVoidAsync("eval", "import('./dotnet.js').then(module => { module.dotnet; module.exit(0); });"); } diff --git a/src/mono/wasm/testassets/BlazorHostedApp/BlazorHosted.Server/ChatHub.cs b/src/mono/wasm/testassets/BlazorHostedApp/BlazorHosted.Server/ChatHub.cs index 39a97cc4a09ef9..8b2e77807c6fbc 100644 --- a/src/mono/wasm/testassets/BlazorHostedApp/BlazorHosted.Server/ChatHub.cs +++ b/src/mono/wasm/testassets/BlazorHostedApp/BlazorHosted.Server/ChatHub.cs @@ -12,10 +12,4 @@ public async Task SendMessage(string message, int sendingThreadId) string changedMessage = $"{message}-pong"; await Clients.All.SendAsync("ReceiveMessage", changedMessage).ConfigureAwait(false); } - - public void Exit(int code) - { - Console.WriteLine($"Received exit code {code} from client."); - Environment.Exit(code); - } }