# HG changeset patch # User Alain Mazy # Date 1781166263 -7200 # Node ID afc7edf1dff89c004312bad5ccf6cc0567e9da21 # Parent f7b5e2a63d0104aaf7f1ac3960dde93456ae818e fix diff -r f7b5e2a63d01 -r afc7edf1dff8 NewTests/ExtraMainDicomTags/test_extra_main_dicom_tags.py --- a/NewTests/ExtraMainDicomTags/test_extra_main_dicom_tags.py Tue Jun 09 14:46:16 2026 +0200 +++ b/NewTests/ExtraMainDicomTags/test_extra_main_dicom_tags.py Thu Jun 11 10:24:23 2026 +0200 @@ -103,10 +103,10 @@ def get_storage_access_count(self): m = self.o.get_metrics() - count = int(m.get('orthanc_storage_cache_hit_count')) + int(m.get('orthanc_storage_cache_miss_count')) + count = int(m.get('orthanc_storage_cache_hit_count') or '0') + int(m.get('orthanc_storage_cache_miss_count') or '0') if self.o.get_system()["ApiVersion"] >= 32: # 1.12.11+ and 32 = streaming branch - count += int(m.get('orthanc_dicom_cache_hit_count')) + count += int(m.get('orthanc_dicom_cache_hit_count') or '0') print(f"storage access count = {count}") return count