Skip to content

gossipsub: Re-write tests to remove technical debt #3371

Open

Description

@thomaseizinger

With #3327, we took out some technical debt to move forward with #2824. The tests which currently depend on ConnectionId should be refactored to spin up a Swarm and establish an actual connection which will then allow us to remove ConnectionId::DUMMY.

Activity

  1. thomaseizinger commented on Jan 24, 2023

    @thomaseizinger
    Author
  2. dgarus commented on Mar 12, 2023

    @dgarus
    Contributor

    @thomaseizinger
    Hello, Thomas!

    I tried to find a comment with the issue number, but couldn't.
    Is something changed?
    I would like to try to make this issue.

    Thanks!

  3. thomaseizinger commented on Mar 12, 2023

    @thomaseizinger
    ContributorAuthor

    Thanks for wanting to tackle this!

    You can also search for all usages of ConnectionId::DUMMY, that should you lead to the same code places that need fixing!

  4. thomaseizinger commented on Mar 21, 2023

    @thomaseizinger
    ContributorAuthor

    Usages of ConnectionId::DUMMY are being replaced in #3652. We still want to rewrite those tests to create Swarms instead though.

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions