Skip to content

Commit 73a565e

Browse files
committed
some fixes
1 parent af76c4e commit 73a565e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

test/services/compute_services/bare_metal_compound_jobs/BareMetalComputeServiceOneActionTests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,10 @@ void BareMetalComputeServiceOneActionTest::do_Noop_test() {
317317
// Create and initialize a simulation
318318
auto simulation = wrench::Simulation::createSimulation();
319319

320-
int argc = 2;
320+
int argc = 1;
321321
auto argv = (char **) calloc(argc, sizeof(char *));
322322
argv[0] = strdup("one_action_test");
323-
argv[1] = strdup("--wrench-full-log");
323+
// argv[1] = strdup("--wrench-full-log");
324324

325325
ASSERT_NO_THROW(simulation->init(&argc, argv));
326326

test/simulation/simulation_output/SimulationDumpJSONTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ class SimulationOutputDumpEnergyConsumptionTestWMS : public wrench::ExecutionCon
805805
auto em = this->createEnergyMeter(hostnames, TWO_SECOND_PERIOD);
806806

807807
const double MEGAFLOP = 1000.0 * 1000.0;
808-
wrench::S4U_Simulation::compute(6.0 * 100.0 * MEGAFLOP);// compute for 6 seconds
808+
wrench::S4U_Simulation::compute(6.1 * 100.0 * MEGAFLOP);// compute for 6 seconds
809809

810810

811811
return 0;
@@ -989,8 +989,8 @@ void SimulationDumpJSONTest::do_SimulationDumpHostEnergyConsumptionJSON_test() {
989989
std::sort(result_json["energy_consumption"][i]["pstate_trace"].begin(), result_json["energy_consumption"][i]["pstate_trace"].end(), comparePstate);
990990
}
991991

992-
// std::cerr << "EXPECTED: " << expected_json << "\n";
993-
// std::cerr << "RESULT: " << result_json << "\n";
992+
// std::cerr << "EXPECTED: " << expected_json << "\n";
993+
// std::cerr << "RESULT: " << result_json << "\n";
994994
EXPECT_TRUE(expected_json == result_json);
995995

996996

test/simulation/simulation_output/SimulationTimestampEnergyTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ class EnergyMeterMultipleMeasurementPeriodTestWMS : public wrench::ExecutionCont
444444
auto em = this->createEnergyMeter(measurement_periods);
445445

446446
const double MEGAFLOP = 1000.0 * 1000.0;
447-
wrench::S4U_Simulation::compute(6.0 * 100.0 * MEGAFLOP);// compute for 6 seconds
447+
wrench::S4U_Simulation::compute(6.1 * 100.0 * MEGAFLOP);// compute for 6 seconds
448448

449449
return 0;
450450
}

0 commit comments

Comments
 (0)