Skip to content

Test: System.Net.Http.WinHttpHandlerFunctional.Tests.WinHttpHandlerTest/SendAsync_SlowServerAndCancel_ThrowsTaskCanceledException failed with "Xunit.Sdk.ThrowsException" #21631

Closed
@ghost

Description

Opened on behalf of @JiayiLi1

The test System.Net.Http.WinHttpHandlerFunctional.Tests.WinHttpHandlerTest/SendAsync_SlowServerAndCancel_ThrowsTaskCanceledException has failed.

Assert.Throws() Failure\r
Expected: typeof(System.AggregateException)\r
Actual: (No exception was thrown)

    Stack Trace:

       at System.Net.Http.WinHttpHandlerFunctional.Tests.WinHttpHandlerTest.<SendAsync_SlowServerAndCancel_ThrowsTaskCanceledException>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Build : Master - 20170510.02 (Portable Core Tests)
Failing configurations:

  • Windows.10.Amd64-x64
    • Release

Detail: https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fportable~2Fcli~2F/build/20170510.02/workItem/System.Net.Http.WinHttpHandler.Functional.Tests/analysis/xunit/System.Net.Http.WinHttpHandlerFunctional.Tests.WinHttpHandlerTest~2FSendAsync_SlowServerAndCancel_ThrowsTaskCanceledException

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.Httptest-bugProblem in test source code (most likely)test-run-coreTest failures in .NET Core test runstest-run-desktopTest failures in .NET Framework "Desktop" test runs (running CoreFX test assets)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions