diff --git a/test/compute_services/BareMetalComputeService/BareMetalComputeServiceTestPilotJobs.cpp b/test/compute_services/BareMetalComputeService/BareMetalComputeServiceTestPilotJobs.cpp index b95abb6cfa..4b0cd7969d 100644 --- a/test/compute_services/BareMetalComputeService/BareMetalComputeServiceTestPilotJobs.cpp +++ b/test/compute_services/BareMetalComputeService/BareMetalComputeServiceTestPilotJobs.cpp @@ -166,7 +166,7 @@ void BareMetalComputeServiceTestPilotJobs::do_UnsupportedPilotJobs_test() { ASSERT_NO_THROW(compute_service = simulation->add( new wrench::BareMetalComputeService(hostname, {std::make_pair(hostname, std::make_tuple(wrench::ComputeService::ALL_CORES, wrench::ComputeService::ALL_RAM))}, - 0, + "", {{wrench::BareMetalComputeServiceProperty::SUPPORTS_PILOT_JOBS, "false"}}))); // Create a WMS diff --git a/test/energy_consumption/EnergyConsumptionTest.cpp b/test/energy_consumption/EnergyConsumptionTest.cpp index c2ef125b18..f8d3ec9762 100644 --- a/test/energy_consumption/EnergyConsumptionTest.cpp +++ b/test/energy_consumption/EnergyConsumptionTest.cpp @@ -51,65 +51,74 @@ class EnergyConsumptionTest : public ::testing::Test { // Create a four-host 1-core platform file along with different pstates std::string xml = "" - "" - "" - "" - "" - "" - "" - " " - " " - " " - " " - " " - " " - " " - " " - " " - "" - - "" - "" - "" - " " - " " - " " - " " - " " - " " - " " - " " - " " - "" - - "" - "" - "" - " " - " " - " " - " " - " " - " " - " " - " " - " " - "" - - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - ""; + "" + "" + "" + "" + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + "" + + "" + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + "" + + "" + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + "" + + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + ""; FILE *platform_file = fopen(platform_file_path.c_str(), "w"); fprintf(platform_file, "%s", xml.c_str()); fclose(platform_file); @@ -293,11 +302,11 @@ void EnergyConsumptionTest::do_AccessEnergyApiExceptionTests_test() { // Create a Storage Service EXPECT_NO_THROW(storage_service1 = simulation->add( - new wrench::SimpleStorageService(hostname, {"/"}))); + new wrench::SimpleStorageService(hostname, {"/disk1"}))); // Create a Storage Service EXPECT_NO_THROW(storage_service2 = simulation->add( - new wrench::SimpleStorageService(hostname, {"/"}))); + new wrench::SimpleStorageService(hostname, {"/disk2"}))); // Create a Compute Service @@ -448,11 +457,11 @@ void EnergyConsumptionTest::do_EnergyConsumption_test() { // Create a Storage Service EXPECT_NO_THROW(storage_service1 = simulation->add( - new wrench::SimpleStorageService(hostname, {"/"}))); + new wrench::SimpleStorageService(hostname, {"/disk1"}))); // Create a Storage Service EXPECT_NO_THROW(storage_service2 = simulation->add( - new wrench::SimpleStorageService(hostname, {"/"}))); + new wrench::SimpleStorageService(hostname, {"/disk2"}))); // Create a Compute Service @@ -601,11 +610,11 @@ void EnergyConsumptionTest::do_SimpleApiChecksEnergy_test() { // Create a Storage Service EXPECT_NO_THROW(storage_service1 = simulation->add( - new wrench::SimpleStorageService(hostname, {"/"}))); + new wrench::SimpleStorageService(hostname, {"/disk1"}))); // Create a Storage Service EXPECT_NO_THROW(storage_service2 = simulation->add( - new wrench::SimpleStorageService(hostname, {"/"}))); + new wrench::SimpleStorageService(hostname, {"/disk2"}))); // Create a Compute Service @@ -835,11 +844,11 @@ void EnergyConsumptionTest::do_EnergyConsumptionPStateChange_test() { // Create a Storage Service EXPECT_NO_THROW(storage_service1 = simulation->add( - new wrench::SimpleStorageService(hostname, {"/"}))); + new wrench::SimpleStorageService(hostname, {"/disk1"}))); // Create a Storage Service EXPECT_NO_THROW(storage_service2 = simulation->add( - new wrench::SimpleStorageService(hostname, {"/"}))); + new wrench::SimpleStorageService(hostname, {"/disk2"}))); // Create a Compute Service diff --git a/test/simulated_failures/host_failures/BareMetalComputeServiceHostFailuresTest.cpp b/test/simulated_failures/host_failures/BareMetalComputeServiceHostFailuresTest.cpp index 4ec2007604..93f03d0dec 100644 --- a/test/simulated_failures/host_failures/BareMetalComputeServiceHostFailuresTest.cpp +++ b/test/simulated_failures/host_failures/BareMetalComputeServiceHostFailuresTest.cpp @@ -80,8 +80,8 @@ class BareMetalComputeServiceHostFailuresTest : public ::testing::Test { " " " " " " - " " - " " + " " + " " " " " " " "