mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
Invoking workload finalizers at the end of the run.
This commit is contained in:
parent
b3a0933221
commit
6c8228a26c
@ -626,6 +626,10 @@ class Runner(object):
|
||||
self.context.end_job()
|
||||
|
||||
def _finalize_run(self):
|
||||
self.logger.info('Finalizing workloads')
|
||||
for workload_spec in self.context.config.workload_specs:
|
||||
workload_spec.workload.finalize(self.context)
|
||||
|
||||
self.logger.info('Finalizing.')
|
||||
self._send(signal.RUN_FIN)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user