@Test
public void testSelfMigration() {

    Task job1Task0 = jobOperations.getTasks("job1").get(0);
    dataGenerator.place("removable1", job1Task0);
    dataGenerator.setQuota("job1", 1);
    TaskRelocationPlan job1Task0Plan = TaskRelocationPlan.newBuilder()
            .withTaskId(job1Task0.getId())
            .withRelocationTime(Long.MAX_VALUE / 2)
            .build();
    Optional<Pair<Node, List<Task>>> results = newDescheduler(Collections.singletonMap(job1Task0.getId(), job1Task0Plan)).nextBestMatch();
    assertThat(results).isEmpty();
}