Skip to content

Commit

Permalink
removed useless catch
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Aug 26, 2019
1 parent 124f84e commit e5aae33
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions src/wrench/services/Service.cpp
Expand Up @@ -248,8 +248,6 @@ namespace wrench {
Service::num_terminated_services = 0;
}

} catch (std::runtime_error &e) {
throw;
} catch (std::shared_ptr<HostError> &e) {
throw;
}
Expand Down
2 changes: 0 additions & 2 deletions src/wrench/services/helpers/alarm/Alarm.cpp
Expand Up @@ -92,8 +92,6 @@ namespace wrench {
alarm_ptr->start(alarm_ptr, true, false); // Daemonized, no auto-restart
} catch (std::shared_ptr<HostError> &e) {
throw;
} catch (std::runtime_error &e) {
throw;
}
return alarm_ptr;
}
Expand Down
Expand Up @@ -710,7 +710,7 @@ void BatchServiceTest::do_WorkloadTraceFileRequestedTimesTestSWF_test() {
{"Host1", "Host2", "Host3", "Host4"}, 0,
{
{wrench::BatchComputeServiceProperty::BATCH_SCHEDULING_ALGORITHM, "easy_bf"},
{wrench::BatchComputeServiceProperty::SIMULATED_WORKLOAD_TRACE_FILE, trace_file_path},
// {wrench::BatchComputeServiceProperty::BATCH_SCHEDULING_ALGORITHM, "FCFS"},
{wrench::BatchComputeServiceProperty::SIMULATE_COMPUTATION_AS_SLEEP, "true"},
{wrench::BatchComputeServiceProperty::BATSCHED_LOGGING_MUTED, "true"},
{wrench::BatchComputeServiceProperty::USE_REAL_RUNTIMES_AS_REQUESTED_RUNTIMES_IN_WORKLOAD_TRACE_FILE, "false"}
Expand Down

0 comments on commit e5aae33

Please sign in to comment.