Skip to content

Commit

Permalink
Merge pull request #205 from miparnisari/fix-tests
Browse files Browse the repository at this point in the history
test: fix TestPeerClientShutdown
  • Loading branch information
thrawn01 authored Nov 29, 2023
2 parents 5a43d52 + 2c037cf commit e43e3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peer_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func TestPeerClientShutdown(t *testing.T) {
wg := sync.WaitGroup{}
wg.Add(threads)
// Spawn a whole bunch of concurrent requests to test shutdown in various states
for i := 0; i < threads; i++ {
for j := 0; j < threads; j++ {
go func() {
defer wg.Done()
ctx := context.Background()
Expand Down

0 comments on commit e43e3df

Please sign in to comment.