Skip to content

Commit

Permalink
fix missing wg.Add
Browse files Browse the repository at this point in the history
  • Loading branch information
amirylm committed Oct 2, 2023
1 parent dc70697 commit 35aa63b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/grpc/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ func TestGrpc_LocalNetwork(t *testing.T) {
Topic: fmt.Sprintf("test-%d", i+1),
Data: data,
}
wg.Add(1)
go func() {
defer wg.Done()
_, _ = control.Publish(ctx, req)
Expand Down

0 comments on commit 35aa63b

Please sign in to comment.