Skip to content

Commit

Permalink
Merge branch '1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Jul 16, 2018
2 parents 3923135 + eaeb4ca commit b6e4c80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/wrench/managers/JobManager.cpp
Expand Up @@ -560,7 +560,6 @@ namespace wrench {
this->pending_standard_jobs.erase(job);
this->completed_standard_jobs.insert(job);


// Forward the notification along the notification chain
std::string callback_mailbox = job->popCallbackMailbox();
if (not callback_mailbox.empty()) {
Expand Down
3 changes: 2 additions & 1 deletion src/wrench/services/compute/batch/BatchService.cpp
Expand Up @@ -1391,7 +1391,7 @@ namespace wrench {

// Remove the job from the running job list
BatchJob *batch_job = nullptr;
for (auto it = this->running_jobs.begin(); it != this->running_jobs.end();) {
for (auto it = this->running_jobs.begin(); it != this->running_jobs.end(); it++) {
if ((*it)->getWorkflowJob() == job) {
batch_job = (*it);
break;
Expand All @@ -1412,6 +1412,7 @@ namespace wrench {

//first forward this notification to the batsched
#ifdef ENABLE_BATSCHED
WRENCH_INFO("FORWARDING TO BATSCHED");
this->notifyJobEventsToBatSched(std::to_string(batch_job->getJobID()), "SUCCESS", "COMPLETED_SUCCESSFULLY", "", "JOB_COMPLETED");
this->appendJobInfoToCSVOutputFile(batch_job, "success");
#endif
Expand Down

0 comments on commit b6e4c80

Please sign in to comment.