ChainSafe / ChainSafe/gossamer
Using an event-driven approach in `dot/peerset` unit tests
Open
- Dominant language
- Go
- Stars
- 454
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Description
## Task summary
- Currently, all unit tests within `dot/peerset` packages use `time.Sleep()` to wait for an action and then perform an assertion, would be nice to introduce an event-driven approach in order to remove the `time.Sleep()` dependency.
## Specification reference
- N/A
## Other information and links
- N/A
Contributor guide
Assessment
This issue has not been assessed yet.