This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
use a mock clock in bandwidth counter tests #267
Labels
effort/hours
Estimated to take one or several hours
exp/beginner
Can be confidently tackled by newcomers
good first issue
Good issue for new contributors
help wanted
Seeking public contribution on this issue
P1
High: Likely tackled by core team if no one steps up
These tests are currently flaky, and we won't be able to proceed with repo consolidation (libp2p/go-libp2p#1556) until they're fixed. Injecting a mock clock (similar to what we did in https://github.com/libp2p/go-libp2p/pull/1516/files) should be a straightforward way to test this reliably, and dramatically speed up the test at the same time.
The text was updated successfully, but these errors were encountered: