}
String replicaSetName = "es-test-" + type.configKey;
// Create 3 mongod processes
ImmutableList.Builder<MongoReplicaSet.Member> builder = ImmutableList.builder();
for (int i = 1; i <= 3; ++i) {
Storage storage = new Storage("target/" + replicaSetName + '/' + i, replicaSetName, 20);
MongoReplicaSet.Member member = new MongoReplicaSet.Member();
member.config = new MongodConfigBuilder().version(Versions.withFeatures(new GenericVersion(rsSettings.get("version"))))
.net(new de.flapdoodle.embed.mongo.config.Net(ports[i - 1], Network.localhostIsIPv6())).replication(storage).build();
logger.trace("replSetName in config: {}", member.config.replication().getReplSetName());
member.executable = type.starter.prepare(member.config);