Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/Components/Server/test/Circuits/RemoteRendererTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using Microsoft.AspNetCore.Components.Server;
using Microsoft.AspNetCore.Components.Server.Circuits;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.InternalTesting;
using Microsoft.AspNetCore.SignalR;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
Expand Down Expand Up @@ -126,6 +127,7 @@ public async Task ProducesNewBatch_WhenABatchGetsAcknowledged()
}

[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/61807")]
public async Task ProcessBufferedRenderBatches_WritesRenders()
{
// Arrange
Expand Down Expand Up @@ -767,7 +769,13 @@ public Task SetParametersAsync(ParameterView parameters)
public void TriggerRender()
{
var task = _renderHandle.Dispatcher.InvokeAsync(() => _renderHandle.Render(_renderFragment));
Assert.True(task.IsCompletedSuccessfully);

// Log the task state for debugging purposes.
var status = task.Status;
var innerException = task.Exception?.InnerException;
var message = $"Render task should succeed synchronously.\nStatus: '{status}'\nInner exception: '{innerException}'";

Assert.True(task.IsCompletedSuccessfully, message);
}
}

Expand Down
Loading