Reproduction of a bug in js-libp2p when concurrently pinging a list of addresses that includes at least one relay address.
- Install
nvm use
npm install
-
Edit
index.js
: Add some p2p addresses inmain()
to ping. Be sure to add multiple addresses and include at least one/p2p-circuit
relay address. -
Run
./index.js
- Results
Some of the pings in the CONCURRENT
section should fail with stream errors.
All of the pings in the SEQUENTIAL
section should succeed.