Skip to content

Commit

Permalink
tmp commit
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Oct 10, 2019
1 parent 09a5d44 commit 8cbaf6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,8 @@ namespace wrench {
task->setExecutionHost(this->hostname);
task->setNumCoresAllocated(this->num_cores);

this->simulation->getOutput().addTimestamp<SimulationTimestampTaskStart>(new
SimulationTimestampTaskStart(
task));
this->simulation->getOutput().addTimestamp<SimulationTimestampTaskStart>(
new SimulationTimestampTaskStart(task));
this->task_start_timestamp_has_been_inserted = true;

// Read all input files
Expand All @@ -336,6 +335,8 @@ namespace wrench {
}
}
StorageService::readFiles(files_to_read);
WRENCH_INFO("SETTING TASK %s's READ INPUT END DATE TO %lf",
task->getID().c_str(), S4U_Simulation::getClock());
task->setReadInputEndDate(S4U_Simulation::getClock());
} catch (WorkflowExecutionException &e) {
this->failure_timestamp_should_be_generated = true;
Expand Down
1 change: 1 addition & 0 deletions test/workflow/WorkflowTaskTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ void WorkflowTaskTest::do_WorkflowTaskExecutionHistory_test() {

// none of the values should be -1 except task_failure
for (auto &value : t4_successful_execution_history_values) {
WRENCH_INFO("VALUE=%lf", value);
ASSERT_NE(value, -1.0);
}

Expand Down

0 comments on commit 8cbaf6e

Please sign in to comment.