client, testHost(), jobId, RUNNING, LONG_WAIT_SECONDS, SECONDS);
assertJobEquals(job, taskStatus.getJob());
try (final DockerClient docker = getNewDockerClient()) {
final ContainerConfig containerConfig =
docker.inspectContainer(taskStatus.getContainerId()).config();
assertEquals(MEMORY, containerConfig.memory());
assertEquals(MEMORY_SWAP, containerConfig.memorySwap());
assertEquals(CPU_SHARES, containerConfig.cpuShares());
assertEquals(CPUSET, containerConfig.cpuset());
}
}