assertEquals("2", task.requestId);
task = scheduler.getNextTask();
assertEquals("2", task.requestId);
/* Make a list of task ids to use in every call to tasksFinished, and just update the request
* id for each call. */
TFullTaskId fullTaskId = new TFullTaskId();
fullTaskId.taskId = "";
List<TFullTaskId> completedTasks = Lists.newArrayList();
completedTasks.add(fullTaskId);
// Have a few tasks complete before the last runnable task is removed from the queue.