libp2p / libp2p/go-libp2p

basichost: flaky TestProtoDowngrade

Open
#2,087 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/bug
Dominant language
Go
Stars
6.9k
Forks
1.3k
Avg merge
13d 21h
Merged PRs (30d)
1

Description

https://github.com/libp2p/go-libp2p/actions/runs/4153319610/jobs/7184875624

```
=== RUN TestProtoDowngrade
basic_host_test.go:522:
Error Trace: /home/runner/work/go-libp2p/go-libp2p/p2p/host/basic/basic_host_test.go:522
Error: Received unexpected error:
Application error 0x0 (remote)
Test: TestProtoDowngrade

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CI run and p2p/host/basic/basic_host_test.go, especially TestProtoDowngrade around line 522. Reproduce the unexpected remote application error and trace the downgrade behavior to identify the flaky condition. Done means the test reliably passes without masking the underlying failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.