ChainSafe / ChainSafe/gossamer

Using an event-driven approach in `dot/peerset` unit tests

Open
#2,520 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.