Search in sources :

Aggregations

MiniRaftCluster (org.apache.ratis.MiniRaftCluster)13 BaseTest (org.apache.ratis.BaseTest)11 Test (org.junit.Test)11 RaftClient (org.apache.ratis.client.RaftClient)9 IOException (java.io.IOException)6 PeerChanges (org.apache.ratis.MiniRaftCluster.PeerChanges)6 AtomicBoolean (java.util.concurrent.atomic.AtomicBoolean)4 AtomicReference (java.util.concurrent.atomic.AtomicReference)3 SimpleMessage (org.apache.ratis.RaftTestUtil.SimpleMessage)3 RaftClientRpc (org.apache.ratis.client.RaftClientRpc)2 RaftGroup (org.apache.ratis.protocol.RaftGroup)2 RaftGroupId (org.apache.ratis.protocol.RaftGroupId)2 RaftPeer (org.apache.ratis.protocol.RaftPeer)2 RaftPeerId (org.apache.ratis.protocol.RaftPeerId)2 RaftLog (org.apache.ratis.server.storage.RaftLog)2 Arrays (java.util.Arrays)1 Collections (java.util.Collections)1 Comparator (java.util.Comparator)1 List (java.util.List)1 CountDownLatch (java.util.concurrent.CountDownLatch)1