File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Servers/Kestrel/test/Interop.FunctionalTests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -600,7 +600,7 @@ public async Task ServerReset_BeforeResponse_ClientThrows(string scheme)
600600 var url = host . MakeUrl ( scheme ) ;
601601 using var client = CreateClient ( ) ;
602602 var exception = await Assert . ThrowsAsync < HttpRequestException > ( ( ) => client . GetAsync ( url ) ) . DefaultTimeout ( ) ;
603- Assert . Equal ( "The HTTP/2 server reset the stream. HTTP/2 error code 'CANCEL' (0x8)." , exception ? . InnerException ? . Message ) ;
603+ Assert . Equal ( "The HTTP/2 server reset the stream. HTTP/2 error code 'CANCEL' (0x8). (HttpProtocolError) " , exception ? . InnerException ? . Message ) ;
604604 await host . StopAsync ( ) . DefaultTimeout ( ) ;
605605 }
606606
@@ -629,7 +629,7 @@ public async Task ServerReset_AfterHeaders_ClientBodyThrows(string scheme)
629629 response . EnsureSuccessStatusCode ( ) ;
630630 receivedHeaders . SetResult ( ) ;
631631 var exception = await Assert . ThrowsAsync < HttpRequestException > ( ( ) => response . Content . ReadAsStringAsync ( ) ) . DefaultTimeout ( ) ;
632- Assert . Equal ( "The HTTP/2 server reset the stream. HTTP/2 error code 'CANCEL' (0x8)." , exception ? . InnerException ? . Message ) ;
632+ Assert . Equal ( "The HTTP/2 server reset the stream. HTTP/2 error code 'CANCEL' (0x8). (HttpProtocolError) " , exception ? . InnerException ? . Message ) ;
633633 await host . StopAsync ( ) . DefaultTimeout ( ) ;
634634 }
635635
You can’t perform that action at this time.
0 commit comments