-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test orthanc-raw behaves correctly when storage limit reached #278
Conversation
Set maximum storage to 40MB which is enough to contain the starting test instances.
Image headers are derived from a real 3D-T1 from a Philips scanner. The site and patient specific information has been anonymised and the pixel data replaced with random noise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 🚀 Maybe just add a brief summary of this test and the logic to test/README.md
? 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, will leave final approval to haroon
We need pydicom to run the orthanc-raw capacity test. For now installing it while other pip installs are happening is ok but a package of test utils and dependencies might be better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broadly looks good! Still familiarising myself with the overall codebase, but my main comments are around general test structure and packages so leaving them as out of scope here. Otherwise some suggested changes around readibility and clarity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes @jstutters, happy to approve this now.
I agree around your comment that we need to flesh out our testing strategy, and then can reevaulate how some of this is best done.
Add utility code to generate fake MRI DICOMs and upload these to orthanc-raw for testing that older instances are cycled out. Addresses a requirement of #205.