assertEquals(numWorkers, tajoWorkerResourceManager.getWorkers().size());
for(WorkerResource eachWorker: tajoWorkerResourceManager.getWorkers().values()) {
assertEquals(workerMemoryMB, eachWorker.getAvailableMemoryMB());
assertEquals(workerDiskSlots, eachWorker.getAvailableDiskSlots(), 0);
}
tajoWorkerResourceManager.stop();
}
@Test
public void testMemoryResource() throws Exception {
TajoWorkerResourceManager tajoWorkerResourceManager = initResourceManager(false);