Skip to content

Commit

Permalink
adding helper to test
Browse files Browse the repository at this point in the history
  • Loading branch information
AnomalRoil committed Aug 12, 2024
1 parent d47bfa5 commit bd9ac19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/lp2p/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func TestGRPCClientTestFunc(t *testing.T) {
}

func drain(t *testing.T, ch <-chan drand.Result, timeout time.Duration) {
t.Helper()
for {
select {
case _, ok := <-ch:
Expand Down

0 comments on commit bd9ac19

Please sign in to comment.