Logging cleanup

This commit is contained in:
Edward Capriolo
2016-01-01 18:27:11 -05:00
parent b18821d41e
commit 80bbccbd68
10 changed files with 24 additions and 75 deletions

View File

@ -11,14 +11,12 @@ import org.junit.Test;
import com.google.code.gossip.GossipMember;
import com.google.code.gossip.GossipService;
import com.google.code.gossip.GossipSettings;
import com.google.code.gossip.LogLevel;
import com.google.code.gossip.RemoteGossipMember;
import com.google.code.gossip.event.GossipListener;
import com.google.code.gossip.event.GossipState;
public class TenNodeThreeSeedTest {
@Test
public void test() throws UnknownHostException, InterruptedException{
abc();
@ -39,7 +37,7 @@ public class TenNodeThreeSeedTest {
List<GossipService> clients = new ArrayList<>();
int clusterMembers = 5;
for (int i = 1; i < clusterMembers+1; ++i) {
GossipService gossipService = new GossipService("127.0.0." + i, 2000, i + "", LogLevel.DEBUG,
GossipService gossipService = new GossipService("127.0.0." + i, 2000, i + "",
startupMembers, settings,
new GossipListener(){
@Override