public void testRollbackDisabled() throws Exception {
expectTaskKilled().times(2);
control.replay();
JobUpdate builder = makeJobUpdate(
makeInstanceConfig(0, 0, OLD_CONFIG),
makeInstanceConfig(2, 3, OLD_CONFIG))
.newBuilder();
builder.getInstructions().getSettings().setRollbackOnFailure(false);
IJobUpdate update = IJobUpdate.build(builder);
insertInitialTasks(update);
changeState(JOB, 0, ASSIGNED, STARTING, RUNNING);
changeState(JOB, 2, ASSIGNED, STARTING, RUNNING);