File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/Components/Server/test/Circuits Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 9
9
using Microsoft . AspNetCore . Components . Server ;
10
10
using Microsoft . AspNetCore . Components . Server . Circuits ;
11
11
using Microsoft . AspNetCore . DataProtection ;
12
+ using Microsoft . AspNetCore . InternalTesting ;
12
13
using Microsoft . AspNetCore . SignalR ;
13
14
using Microsoft . Extensions . DependencyInjection ;
14
15
using Microsoft . Extensions . Logging ;
@@ -126,6 +127,7 @@ public async Task ProducesNewBatch_WhenABatchGetsAcknowledged()
126
127
}
127
128
128
129
[ Fact ]
130
+ [ QuarantinedTest ( "https://github.com/dotnet/aspnetcore/issues/61807" ) ]
129
131
public async Task ProcessBufferedRenderBatches_WritesRenders ( )
130
132
{
131
133
// Arrange
@@ -767,7 +769,13 @@ public Task SetParametersAsync(ParameterView parameters)
767
769
public void TriggerRender ( )
768
770
{
769
771
var task = _renderHandle . Dispatcher . InvokeAsync ( ( ) => _renderHandle . Render ( _renderFragment ) ) ;
770
- Assert . True ( task . IsCompletedSuccessfully ) ;
772
+
773
+ // Log the task state for debugging purposes.
774
+ var status = task . Status ;
775
+ var innerException = task . Exception ? . InnerException ;
776
+ var message = $ "Render task should succeed synchronously.\n Status: '{ status } '\n Inner exception: '{ innerException } '";
777
+
778
+ Assert . True ( task . IsCompletedSuccessfully , message ) ;
771
779
}
772
780
}
773
781
You can’t perform that action at this time.
0 commit comments