Skip to content

Integration tests fail with 'Errno::EADDRINUSE' #1

@martin-schmidt

Description

@martin-schmidt

All tests in spec/integration/version_handshake_spec.rb bind BN::P2p::Server to port 3333. It's not ensured that the socket opened by a previous test is already closed when the next test starts.

This leads to an error:
Errno::EADDRINUSE: Address already in use - bind(2) for "localhost" port 3333

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions