From 8cbaf6e69a6de5fff43b667c3831288c7c734090 Mon Sep 17 00:00:00 2001 From: henricasanova Date: Thu, 10 Oct 2019 08:09:40 -1000 Subject: [PATCH] tmp commit --- .../compute/work_unit_executor/WorkunitExecutor.cpp | 7 ++++--- test/workflow/WorkflowTaskTest.cpp | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wrench/services/compute/work_unit_executor/WorkunitExecutor.cpp b/src/wrench/services/compute/work_unit_executor/WorkunitExecutor.cpp index 2a3a66f076..9976745067 100644 --- a/src/wrench/services/compute/work_unit_executor/WorkunitExecutor.cpp +++ b/src/wrench/services/compute/work_unit_executor/WorkunitExecutor.cpp @@ -313,9 +313,8 @@ namespace wrench { task->setExecutionHost(this->hostname); task->setNumCoresAllocated(this->num_cores); - this->simulation->getOutput().addTimestamp(new - SimulationTimestampTaskStart( - task)); + this->simulation->getOutput().addTimestamp( + new SimulationTimestampTaskStart(task)); this->task_start_timestamp_has_been_inserted = true; // Read all input files @@ -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; diff --git a/test/workflow/WorkflowTaskTest.cpp b/test/workflow/WorkflowTaskTest.cpp index e5f881da34..97707f09b4 100644 --- a/test/workflow/WorkflowTaskTest.cpp +++ b/test/workflow/WorkflowTaskTest.cpp @@ -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); }