Repository: incubator-ratis
Updated Branches:
  refs/heads/master 830bd615d -> 8a40ee4bc


http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/8a40ee4b/ratis-server/src/test/java/org/apache/ratis/server/impl/ServerInformationBaseTest.java
----------------------------------------------------------------------
diff --git 
a/ratis-server/src/test/java/org/apache/ratis/server/impl/ServerInformationBaseTest.java
 
b/ratis-server/src/test/java/org/apache/ratis/server/impl/ServerInformationBaseTest.java
index c9fe997..c22d4c5 100644
--- 
a/ratis-server/src/test/java/org/apache/ratis/server/impl/ServerInformationBaseTest.java
+++ 
b/ratis-server/src/test/java/org/apache/ratis/server/impl/ServerInformationBaseTest.java
@@ -41,22 +41,15 @@ public abstract class ServerInformationBaseTest<CLUSTER 
extends MiniRaftCluster>
     LogUtils.setLogLevel(RaftClient.LOG, Level.DEBUG);
   }
 
-  static final RaftProperties prop = new RaftProperties();
-
-  public MiniRaftCluster getCluster(int peerNum) throws IOException {
-    return getFactory().newCluster(peerNum, prop);
-  }
-
   @Test
   public void testServerInformation() throws Exception {
     runTest(5);
   }
 
-
   private void runTest(int num) throws Exception {
     LOG.info("Running server info test with " + num);
 
-    final MiniRaftCluster cluster = getCluster(num);
+    final MiniRaftCluster cluster = newCluster(num);
 
     cluster.start();
     // all the peers in the cluster are in the same group, get it.

Reply via email to