Skip to content

[HttpListener] HttpListener tests are blocking xunit workers, causing hangs #21870

@stephentoub

Description

@stephentoub

Lots of the tests that are async are doing synchronous work that's dependent on something else happening, resulting in deadlocks/hangs when xunit parallel execution is enabled, in particular on older OSes where things run slower / more stuff completes asynchronously. Examples include synchronous sends/receives, spinning until a socket closes, doing .Wait() to block waiting for an async method, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Netdisabled-testThe test is disabled in source code against the issuehelp wanted[up-for-grabs] Good issue for external contributorsin-prThere is an active PR which will close this issue when it is mergedtest-bugProblem in test source code (most likely)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions