initRequest();
initFirstDeploy();
initSecondDeploy();
SingularityPendingTaskId taskIdOne = new SingularityPendingTaskId(requestId, firstDeployId, System.currentTimeMillis() + TimeUnit.DAYS.toMillis(3), 1, PendingType.IMMEDIATE);
SingularityPendingTask taskOne = new SingularityPendingTask(taskIdOne, Optional.<String> absent());
SingularityPendingTaskId taskIdTwo = new SingularityPendingTaskId(requestId, firstDeployId, System.currentTimeMillis() + TimeUnit.DAYS.toMillis(1), 2, PendingType.IMMEDIATE);
SingularityPendingTask taskTwo = new SingularityPendingTask(taskIdTwo, Optional.<String> absent());
SingularityPendingTaskId taskIdThree = new SingularityPendingTaskId(requestId, secondDeployId, System.currentTimeMillis() + TimeUnit.DAYS.toMillis(3), 1, PendingType.IMMEDIATE);
SingularityPendingTask taskThree = new SingularityPendingTask(taskIdThree, Optional.<String> absent());
SingularityPendingTaskId taskIdFour = new SingularityPendingTaskId(requestId + "hi", firstDeployId, System.currentTimeMillis() + TimeUnit.DAYS.toMillis(3), 5, PendingType.IMMEDIATE);
SingularityPendingTask taskFour = new SingularityPendingTask(taskIdFour, Optional.<String> absent());
taskManager.createPendingTasks(Arrays.asList(taskOne, taskTwo, taskThree, taskFour));
launchTask(request, secondDeploy, TaskState.TASK_RUNNING);