Skip to content

ClientAsyncAuthenticate_MismatchProtocols_Fails - fails with ObjectDisposedException #2352

@ahsonkhan

Description

@ahsonkhan

Test: System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails

From dotnet/corefx#42027

Test failure on Windows Build x64_Debug, specifically netcoreapp-Windows_NT-Debug-x64-(Windows.Nano.1809.Amd64.Open)

https://dev.azure.com/dnceng/public/_build/results?buildId=398356

System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(serverProtocol: Tls, clientProtocol: Tls11, expectedException: typeof(System.IO.IOException))

https://helix.dot.net/api/2019-06-17/jobs/3dbb8c60-c089-470e-a02a-0c5f75146ef9/workitems/System.Net.Security.Tests/console

 System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(serverProtocol: Tls, clientProtocol: Tls11, expectedException: typeof(System.IO.IOException)) [FAIL]
      Assert.IsAssignableFrom() Failure
      Expected: typeof(System.IO.IOException)
      Actual:   typeof(System.ObjectDisposedException)
      Stack Trace:
        /_/src/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs(79,0): at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(SslProtocols serverProtocol, SslProtocols clientProtocol, Type expectedException)
        --- End of stack trace from previous location where exception was thrown ---
  Finished:    System.Net.Security.Tests
=== TEST EXECUTION SUMMARY ===
   System.Net.Security.Tests  Total: 4397, Errors: 0, Failed: 1, Skipped: 20, Time: 26.038s
----- end Wed 10/23/2019  9:03:05.68 ----- exit code 1 ----------------------------------------------------------

cc @davidsh, @wfurt, @scalablecory, @eiriktsarpalis

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions