Skip to content

Commit

Permalink
Fix concurrent test to demonstrate issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Jun 5, 2019
1 parent 6aa52e1 commit a92899a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/dmsg/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ func TestServer_Serve(t *testing.T) {
}
}

time.Sleep(5 * time.Second)

dialErrs := make(chan error, initiatorsCount)
var initiatorsWG sync.WaitGroup
initiatorsTps := make([]transport.Transport, initiatorsCount)
Expand Down

0 comments on commit a92899a

Please sign in to comment.