New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Test Failure] ReaderThrowsCancelledException #6595

benaadams opened this Issue Jan 11, 2019 · 0 comments


None yet
3 participants
Copy link

benaadams commented Jan 11, 2019

IISIntegration test, wrong exception

[ 00:02:12.71]     Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.ClientDisconnectTests.ReaderThrowsCancelledException [FAIL]
Failed   Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.ClientDisconnectTests.ReaderThrowsCancelledException
Error Message:
 Assert.IsType() Failure
Expected: System.OperationCanceledException
Actual:   Microsoft.AspNetCore.Connections.ConnectionResetException
Stack Trace:
   at Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.ClientDisconnectTests.ReaderThrowsCancelledException() in /_/src/Servers/IIS/IIS/test/IIS.Tests/ClientDisconnectTests.cs:line 206
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
 | [0.001s] TestLifetime Information: Starting test ReaderThrowsCancelledException at 2019-01-11T03:52:22
 | [4.007s] Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.TestServer Debug: Method: GET, RequestUri: 'http://localhost:2096/start', Version: 2.0, Content: <null>, Headers:
 |                                                                                       {
 |                                                                                       }
 | [4.013s] Microsoft.AspNetCore.Hosting.Internal.WebHost Debug: Hosting starting
 | [4.014s] Microsoft.AspNetCore.Hosting.Internal.WebHost Debug: Hosting started
 | [4.014s] Microsoft.AspNetCore.Hosting.Internal.WebHost Debug: Loaded hosting startup assembly IIS.Tests, Version=, Culture=neutral, PublicKeyToken=adb9793829ddae60
 | [4.015s] Microsoft.AspNetCore.Hosting.Internal.WebHost Information: Request starting HTTP/1.1 GET http://localhost:2096/start  
 | [4.015s] Microsoft.AspNetCore.Hosting.Internal.WebHost Information: Request finished in 0.71ms 200 
 | [4.016s] Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.TestServer Debug: StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
 |                                                                                       {
 |                                                                                         Server: Microsoft-IIS/10.0
 |                                                                                         Date: Fri, 11 Jan 2019 03:52:26 GMT
 |                                                                                         Content-Length: 4
 |                                                                                       }
 | [4.016s] Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.TestServer Debug: Done
 | [4.019s] Microsoft.AspNetCore.Hosting.Internal.WebHost Information: Request starting HTTP/1.1 POST http://localhost/  1
 | [125.578s] Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer Debug: Connection ID "18230571293206380545" disconnecting.
 | [125.579s] Microsoft.AspNetCore.Hosting.Internal.WebHost Information: Request finished in 121560.5506ms 0 
 | [125.682s] Microsoft.AspNetCore.Hosting.Internal.WebHost Debug: Hosting shutdown
 | [126.888s] TestLifetime Information: Finished test ReaderThrowsCancelledException in 126.8868381s

Seen in #6594 (comment)

@jkotalik jkotalik changed the title IISIntegration test, wrong exception [Test Failure] ReaderThrowsCancelledException Jan 11, 2019

@muratg muratg added the servers-iis label Jan 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment