idealState.setPartitionState("TestDB0_0", "localhost_12919", "SLAVE");
accessor.setProperty(keyBuilder.idealStates("TestDB0"), idealState);
MockController controller =
new MockController(_zkaddr, clusterName, "controller");
controller.syncStart();
// start participants
MockParticipant participants[] = new MockParticipant[N];
for (int i = 0; i < N; i++) {
String instanceName = "localhost_" + (12918 + i);