pydicom / pynetdicom

A Python implementation of the DICOM networking protocol
https://pydicom.github.io/pynetdicom
MIT License
500 stars 176 forks source link

Test failure setting Windows timer resolution #954

Closed scaramallion closed 1 month ago

scaramallion commented 1 month ago

Image: windows-2022 Version: 20240714.1.0

FAILED pynetdicom/tests/test_assoc.py::TestAssociationWindows::test_set_timer_resolution - assert 5000 > 5500

Setting the timer resolution works, it's resetting it back to the original value that doesn't.

scaramallion commented 1 month ago

Still failing, intermittently, which is always fun. Maybe it's just taking a little time to come into effect?

scaramallion commented 1 month ago

Although, maybe the real issue is that sometimes the initial timer resolution is 5000, rather than the max value?