ipfs / go-bitswap

The golang implementation of the bitswap protocol
MIT License
216 stars 112 forks source link

fix: fix race on "responsive" check #528

Closed Stebalien closed 3 years ago

Stebalien commented 3 years ago

fixes ipfs/go-bitswap#527

Stebalien commented 3 years ago

Added an extra check to return early if we don't know about the peer.

aschmahmann commented 3 years ago

This PR seems to be hitting some flaky tests that have not yet been reported in https://github.com/ipfs/go-libipfs/issues/86. Let's put up a PR to disable those tests, rebase and see if we have more flaky tests or something else is going on.