-
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
PIXL pipeline: make integration tests more realistic #205
Comments
Regarding replacing the shell scripts, I quite liked how we did it for Emap hoover: I think we already have the former in the form of I'd like to have a more general discussion on how our tests should be structured and when they should be run (full system tests for each PR commit seems kind of excessive). |
|
|
Test of orthanc-raw storage management would appear to require fake DICOM data (unless anyone has a better idea?) so I'm back to working on that today. |
Yeah I think it's worth actually checking if the recycling works as we expect, i.e. oldest files being removed in favour of newer ones. So ideally we would have a few DICOM datasets (3?) to test the recycling, where the storage limit is set so that only 2 can be retained, and then check if the oldest ones gets removed, the middle gets retained and the newest gets added. |
Veering into testing a library's own code territory here. Though have tested in production with a 100 mb and its doing as we'd expect! |
#278 tests the recycling and adds some hopefully useful functionality for generating test DICOMs that we can make use of elsewhere. |
Think we can close this one, no? |
Agreed! |
Definition of Done / Acceptance Criteria
test.dcm
replaced with an image that can be fully processed and persisted by orthanc anon. Currently not an X-ray so being droppedtest
top level dir) to be pytests with package scoped fixtures for setup and teardown of docker. will be covered in Replace flaky ftp server in system tests #293check_entry_in_orthanc_anon.sh
replaced by a test that tests that the orthanc anon does have the study persisted instead of checking that it received the messagecheck_max_storage_in_orthanc_raw.sh
replaced by a test that tests that older studies are removed fromorthanc-raw
when the max storage size is exceeded (Set orthanc raw maximum storage in Dockerfile #179)Testing
New integration test should cover the whole pipeline.
Documentation
No response
Dependencies
Access to GAE05 UCLH-Foundry/the-rolling-skeleton#86
Details and Comments
From UCLH-Foundry/the-rolling-skeleton#54
Current integrations tests are in
test
, wheredata/test.dcm
is only checked to have reached orthanc anon, but the image is never persisted because it doesn't have the correct dicom tags for it to be successfully processed.We should replace shell scripts with pytests so that we can have consistent testing framework and make it easier to start testing other aspects e2e.
The text was updated successfully, but these errors were encountered: