use of org.neo4j.causalclustering.core.consensus.OutboundMessageCollector in project neo4j by neo4j.
the class RaftLogShipperTest method setup.
@Before
public void setup() {
// defaults
outbound = new OutboundMessageCollector();
raftLog = new InMemoryRaftLog();
clock = Clocks.systemClock();
leader = member(0);
follower = member(1);
leaderTerm = 0;
leaderCommit = 0;
retryTimeMillis = 100000;
logProvider = mock(LogProvider.class);
log = mock(Log.class);
when(logProvider.getLog(RaftLogShipper.class)).thenReturn(log);
}
Aggregations