Skip to content

Closing network resources in tests, adding close functionality #92

@robzajac

Description

@robzajac

Currently no test does any kind of cleanup (e.g. by calling close methods of the underlying connections opened by a host). This balloons into errors (but not test case failures) of the "Task was destroyed but it is pending!" type in CI.

  • py-libp2p should do cleanup in tests.
  • py-libp2p should add close methods to host and network instances in the style of go-libp2p.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttestingimprovement to testing

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions