partitionsByNode1.add(0);
partitionsByNode1.add(1);
// shutdown DNode1 and see what happens with auto-rebalancing
// the "partitionsByNode1" will become under-replicated and after a short period of time should be balanced
dnode1.testCommand(TestCommands.SHUTDOWN.toString());
// waiting until the system becomes under-replicated
new TestUtils.NotWaitingForeverCondition() {
@Override