Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
test: fix TestPeerClientShutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
miparnisari committed Nov 28, 2023
1 parent 5a43d52 commit 2c037cf
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 2c037cf

Please sign in to comment.