Fix TestNetworkCounters flakiness
part of fixing ipfs/go-libipfs#86
Implemenation
The problem is just a race in counting messages, and I've dealt with that by moving the counting to immediately before the call that advances the test. I don't think it's relevant to Bitswap execution otherwise.
Goals
Fix TestNetworkCounters flakiness part of fixing ipfs/go-libipfs#86
Implemenation
The problem is just a race in counting messages, and I've dealt with that by moving the counting to immediately before the call that advances the test. I don't think it's relevant to Bitswap execution otherwise.