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)
600
600
var url = host . MakeUrl ( scheme ) ;
601
601
using var client = CreateClient ( ) ;
602
602
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 ) ;
604
604
await host . StopAsync ( ) . DefaultTimeout ( ) ;
605
605
}
606
606
@@ -629,7 +629,7 @@ public async Task ServerReset_AfterHeaders_ClientBodyThrows(string scheme)
629
629
response . EnsureSuccessStatusCode ( ) ;
630
630
receivedHeaders . SetResult ( ) ;
631
631
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 ) ;
633
633
await host . StopAsync ( ) . DefaultTimeout ( ) ;
634
634
}
635
635
You can’t perform that action at this time.
0 commit comments