- ImmutableMap.of(leaderId, testActorPath(leaderId), follower1Id, follower1Actor.path().toString())).
- config(newFollowerConfigParams()).roleChangeNotifier(follower2NotifierActor));
+ ImmutableMap.of(leaderId, testActorPath(leaderId), follower1Id, follower1Actor.path().toString(),
+ follower3Id, testActorPath(follower3Id))).
+ config(newFollowerConfigParams()).roleChangeNotifier(follower2NotifierActor));
+
+ follower3NotifierActor = factory.createTestActor(Props.create(MessageCollectorActor.class),
+ factory.generateActorId(follower3Id + "-notifier"));
+ follower3Actor = newTestRaftActor(follower3Id,TestRaftActor.newBuilder().peerAddresses(
+ ImmutableMap.of(leaderId, testActorPath(leaderId), follower1Id, follower1Actor.path().toString(),
+ follower2Id, follower2Actor.path().toString())).
+ config(newFollowerConfigParams()).roleChangeNotifier(follower3NotifierActor));