Skip to content

Commit

Permalink
Removed unnecessary lines as requested
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Jun 15, 2019
1 parent be89278 commit 2651806
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/dmsg/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,6 @@ func TestServer_Serve(t *testing.T) {
pickedRemotes := make([]int, 0, initiatorsCount)
for i := 0; i < initiatorsCount; i++ {
remote := rand.Intn(remotesCount)
if _, ok := usedRemotes[remote]; !ok {
usedRemotes[remote] = 0
}

usedRemotes[remote] = usedRemotes[remote] + 1
pickedRemotes = append(pickedRemotes, remote)
}
Expand Down

0 comments on commit 2651806

Please sign in to comment.