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 99using  Microsoft . AspNetCore . Components . Server ; 
1010using  Microsoft . AspNetCore . Components . Server . Circuits ; 
1111using  Microsoft . AspNetCore . DataProtection ; 
12+ using  Microsoft . AspNetCore . InternalTesting ; 
1213using  Microsoft . AspNetCore . SignalR ; 
1314using  Microsoft . Extensions . DependencyInjection ; 
1415using  Microsoft . Extensions . Logging ; 
@@ -126,6 +127,7 @@ public async Task ProducesNewBatch_WhenABatchGetsAcknowledged()
126127    } 
127128
128129    [ Fact ] 
130+     [ QuarantinedTest ( "https://github.com/dotnet/aspnetcore/issues/61807" ) ] 
129131    public  async  Task  ProcessBufferedRenderBatches_WritesRenders ( ) 
130132    { 
131133        // Arrange 
@@ -767,7 +769,13 @@ public Task SetParametersAsync(ParameterView parameters)
767769        public  void  TriggerRender ( ) 
768770        { 
769771            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 ) ; 
771779        } 
772780    } 
773781
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments