AccumulatorCache: fix cache statistics if exception is thrown
Ensure that cache statistics collection also works in case the decorated function throws an exception and add unit test for this.
Thanks to @smh for the report.
Merge request reports
Activity
added NewConfig label
This merge request affects 1 package:
- Control/AthenaConfiguration
This merge request affects 2 files:
- Control/AthenaConfiguration/python/AccumulatorCache.py
- Control/AthenaConfiguration/python/testAccumulatorCache.py
Adding @ssnyder as watcher
added Core master review-pending-level-1 labels
CI Result SUCCESS (hash 1d458304)Athena AthSimulation AthGeneration AnalysisBase AthAnalysis DetCommon externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
DetCommon: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 42434]added review-approved label and removed review-pending-level-1 label
mentioned in commit 6c5c9bca
added sweep:ignore label
mentioned in merge request !48460 (closed)