Skip to content

v0.11: Flaky p2p tests #5283

@prestonvanloon

Description

@prestonvanloon

Test target //beacon-chain/p2p:go_default_test in the v0.11 branch has been very flaky.

The tests I see fail the most are

  • TestStaticPeering_PeersAreAdded
  • TestDiscv5_AddRetrieveForkEntryENR

Example errors:

TestDiscv5_AddRetrieveForkEntryENR: fork_test.go:246: Wanted fork digest: [24 174 76 203], received [245 165 253 66] 

After running 100 tests sequentially (can't run in parallel because the test demands port 2000), the results show that it fails 19 out of 118 runs. (Not sure why it ran 18 extra but ok).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions