GOSSIP-42 Use normal or expo distributions

This commit is contained in:
Edward Capriolo
2017-01-17 22:59:07 -05:00
parent 78c9ae55a6
commit 428c0573fb
11 changed files with 60 additions and 36 deletions

View File

@ -31,9 +31,9 @@ public class GossipMemberTest {
@Test
public void testHashCodeFromGossip40() throws URISyntaxException {
Assert.assertNotEquals(
new LocalGossipMember("mycluster", new URI("udp://4.4.4.4:1000"), "myid", 1, 10, 5)
new LocalGossipMember("mycluster", new URI("udp://4.4.4.4:1000"), "myid", 1, 10, 5, "exponential")
.hashCode(),
new LocalGossipMember("mycluster", new URI("udp://4.4.4.5:1005"), "yourid", 11, 11, 6)
new LocalGossipMember("mycluster", new URI("udp://4.4.4.5:1005"), "yourid", 11, 11, 6, "exponential")
.hashCode());
}
}