Skip to content

Commit

Permalink
test: fix call to (*T).Fatalf from a non-test goroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
rueian committed Nov 12, 2023
1 parent e6b78ec commit 1b9839f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ func TestNoReplyExceedRingSize(t *testing.T) {
go func() {
for i := 0; i < times; i++ {
if err := p.Do(context.Background(), cmds.UnsubscribeCmd).Error(); err != nil {
t.Fatalf("unexpected err %v", err)
t.Errorf("unexpected err %v", err)
}
}
close(wait)
Expand Down

0 comments on commit 1b9839f

Please sign in to comment.