client.deploy(deployment2, testHost()).get();
awaitJobState(client, testHost(), job2Id, RUNNING,
LONG_WAIT_SECONDS, SECONDS);
final Map<JobId, JobStatus> statuses = client.jobStatuses(ImmutableSet.of(jobId, job2Id)).get();
assertTrue("should contain job 1 id", statuses.containsKey(jobId));
assertTrue("should contain job 2 id", statuses.containsKey(job2Id));
}
}