Skip to content

Race condition in test_socket.testSockName #95243

Closed
@rossburton

Description

@rossburton

testSockName has a race condition where find_unused_port() can return a port that gets used by another test in the meantime.

I have a patch, just waiting legal approval.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtriagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions