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

Commit

Permalink
Merge pull request #1339 from weaveworks/revert-1338-1336-check-len
Browse files Browse the repository at this point in the history
Revert "In ipam ring unit test, check if we have any peers with entri…
  • Loading branch information
tomwilkie committed Aug 20, 2015
2 parents aafa0f6 + 790a175 commit dac219b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ipam/ring/ring_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -709,9 +709,6 @@ func TestFuzzRingHard(t *testing.T) {
ringsWithEntries = append(ringsWithEntries, ring)
}
}
if len(ringsWithEntries) == 0 { // no rings have entries.
return
}
ring1 := ringsWithEntries[rand.Intn(len(ringsWithEntries))]
ring2index, _, ring2 := randomPeer(-1)
common.Log.Debugf("%s: 'Gossiping' to %s", ring1.Peer, ring2.Peer)
Expand Down

0 comments on commit dac219b

Please sign in to comment.