mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 10:52:33 +01:00
framework: Re-enable instruments before finalizing run
Ensure all instruments are re-enabled prior to run finalization so their `finalize()` methods are invoked. This fixes an issue where instruments not enabled during the last job skipped finalization. Fixes: #1295
This commit is contained in:
@@ -532,6 +532,7 @@ class Runner(object):
|
||||
job.finalize(self.context)
|
||||
self.logger.info('Finalizing run')
|
||||
self.context.end_run()
|
||||
instrumentation.enable_all()
|
||||
self.pm.enable_all()
|
||||
with signal.wrap('RUN_OUTPUT_PROCESSED', self):
|
||||
self.pm.process_run_output(self.context)
|
||||
|
Reference in New Issue
Block a user