new RunningInstance(SessionId.from("session_1"), HelixVersion.from("1.2.3.4"),
ProcId.from("1"));
liveInstances.put(ParticipantId.from("localhost_0"),
new Participant(ParticipantId.from("localhost_0"), "localhost", 0, true,
disabledPartitions, tags, runningInstance0, currentStateMap, messageMap,
new UserConfig(Scope.participant(ParticipantId.from("localhost_0")))));
liveInstances.put(ParticipantId.from("localhost_1"),
new Participant(ParticipantId.from("localhost_1"), "localhost", 1, true,
disabledPartitions, tags, runningInstance1, currentStateMap, messageMap,
new UserConfig(Scope.participant(ParticipantId.from("localhost_1")))));
Map<ParticipantId, State> currentStates = new HashMap<ParticipantId, State>();
currentStates.put(ParticipantId.from("localhost_0"), State.from("SLAVE"));
currentStates.put(ParticipantId.from("localhost_1"), State.from("MASTER"));