client.deploy(deployment, testHost()).get();
awaitJobState(client, testHost(), jobId, RUNNING,
LONG_WAIT_SECONDS, SECONDS);
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));