mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 04:54:05 -05:00
add unit test for test broadcast (#1127)
* add unit test for test broadcast * execute goimports * add import peerstore * refactor and check message equals expected * remove not needed sleep * add function to connect hosts to host * refactor test for better reading * refactor to only use one channel * refactor subs to channel * close channels instead of sending boolean value * use goimports * copy value to avoid race condition * remove TODO comment * fix issues with gometalinter * run gazelle * reduce sleep time * add comments to goroutines
This commit is contained in:
committed by
Preston Van Loon
parent
2c3362e200
commit
685e299c45
@@ -65,7 +65,7 @@ $ go test <file_you_are_working_on>
|
||||
Changes that affect multiple files can be tested with ...
|
||||
|
||||
```
|
||||
$ gometallinter && bazel test
|
||||
$ gometalinter && bazel test
|
||||
```
|
||||
|
||||
**10. Stage the file or files that you want to commit.**
|
||||
|
||||
Reference in New Issue
Block a user