Skip to content

Microsoft.Extensions.Http test failure on mono #34023

Description

@maryamariyan

This issue tracks Http test failing on Mono:

Microsoft.Extensions.Http.DefaultHttpClientFactoryTest.Factory_CleanupCycle_DisposesLiveHandler

https://helix.dot.net/api/2019-06-17/jobs/c6ed46b1-0512-4f5d-b721-ecaaaa01dc59/workitems/Microsoft.Extensions.Http.Tests/console

Discovering: Microsoft.Extensions.Http.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  Microsoft.Extensions.Http.Tests (found 70 test cases)
  Starting:    Microsoft.Extensions.Http.Tests (parallel test collections = on, max threads = 2)
    Microsoft.Extensions.Http.DefaultHttpClientFactoryTest.Factory_CleanupCycle_DisposesLiveHandler [FAIL]
      Cleanup entry disposable
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/libraries/Microsoft.Extensions.Http/tests/DefaultHttpClientFactoryTest.cs(449,0): at Microsoft.Extensions.Http.DefaultHttpClientFactoryTest.Factory_CleanupCycle_DisposesLiveHandler()
        --- End of stack trace from previous location ---
  Finished:    Microsoft.Extensions.Http.Tests

Activity

  1. safern commented on Mar 24, 2020

    @safern
    Member

    Added console output to description since the file links might expire.

  2. danmoseley commented on Mar 25, 2020

    @danmoseley
    Contributor

    @maryamariyan there is a label runtime-mono that is handy for mono specific issues

  3. danmoseley commented on Apr 10, 2020

    @danmoseley
    Contributor

    Likely relates to different GC behavior on Mono. Test says "depends on the GC and timing."

  4. removed
    untriagedNew issue has not been triaged by the area owner
    on Jun 18, 2020
  5. added this to the Future milestone on Jun 18, 2020
  6. jkotas commented on Jul 22, 2020

    @jkotas
    Member

    Failed in #39717

  7. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Jul 22, 2020
  8. danmoseley commented on Jul 22, 2020

    @danmoseley
    Contributor

    @maryamariyan please fix or disable

  9. akoeplinger commented on Jul 22, 2020

    @akoeplinger
    Member

    @maryamariyan I think this is the result of different GC on Mono, we disabled some similar tests with the PlatformDetection.IsPreciseGcSupported which returns false on Mono. The same should be done with this test.

  10. directhex commented on Sep 30, 2020

    @directhex
    Contributor

    Closing the issue, since the test in question is now annotated with IsPreciseGcSupported. If Mono ever supports that, we can revisit related issues.

  11. ghost locked as resolved and limited conversation to collaborators on Dec 10, 2020
  12. modified the milestones: Future, 5.0.x, 6.0.0 on May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions