Merge pull request #1339 from weaveworks/revert-1338-1336-check-len

Revert "In ipam ring unit test, check if we have any peers with entri…
This commit is contained in:
Tom Wilkie committed 2015-08-20 12:23:06 +01:00
commit dac219b64a
1 file changed
-3
-3
View File
@@ -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)