Skip to content

Commit

Permalink
Tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Feb 10, 2018
1 parent 32ffb12 commit 54481fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/wrench/services/compute/cloud/CloudService.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ namespace wrench {

std::vector<std::string> execution_hosts;


/** @brief A map of VMs described by the VM actor, the actual compute service, and the total number of cores */
std::map<std::string, std::tuple<simgrid::s4u::VirtualMachine *, std::unique_ptr<ComputeService>, int>> vm_list;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class ResourceInformationTestWMS : public wrench::WMS {
wrench::StandardJob *job = job_manager->createStandardJob(tasks, {}, {}, {}, {});
job_manager->submitJob(job, this->test->compute_service1);

wrench::Simulation::sleep(1.0);
wrench::S4U_Simulation::sleep(1.0);
std::vector<unsigned long> num_idle_cores = this->test->compute_service1->getNumIdleCores();
std::sort(num_idle_cores.begin(), num_idle_cores.end());
if ((num_idle_cores.size() != 2) or
Expand Down

0 comments on commit 54481fb

Please sign in to comment.