# HG changeset patch # User Alain Mazy # Date 1707294759 -3600 # Node ID 75dbc81d0e263c45b0cd1ce31eb84150e4557d94 # Parent 9f867dc595e2ed450a59177ff1949d2ef2ccb0ea fix concurrency transfer tests diff -r 9f867dc595e2 -r 75dbc81d0e26 NewTests/Concurrency/docker-compose-transfers-concurrency.yml --- a/NewTests/Concurrency/docker-compose-transfers-concurrency.yml Tue Feb 06 16:20:40 2024 +0100 +++ b/NewTests/Concurrency/docker-compose-transfers-concurrency.yml Wed Feb 07 09:32:39 2024 +0100 @@ -11,6 +11,8 @@ environment: # VERBOSE_ENABLED: "true" TRANSFERS_PLUGIN_ENABLED: "true" + # disable DICOMWEB to avoid the metadata cache to consume disk space after StableStudy -> difficult to compare disk sizes + DICOM_WEB_PLUGIN_ENABLED: "false" ORTHANC__POSTGRESQL: | { "Host": "pg-a", @@ -39,6 +41,7 @@ environment: # VERBOSE_ENABLED: "true" TRANSFERS_PLUGIN_ENABLED: "true" + DICOM_WEB_PLUGIN_ENABLED: "false" ORTHANC__POSTGRESQL: | { "Host": "pg-b", diff -r 9f867dc595e2 -r 75dbc81d0e26 NewTests/Concurrency/test_transfer.py --- a/NewTests/Concurrency/test_transfer.py Tue Feb 06 16:20:40 2024 +0100 +++ b/NewTests/Concurrency/test_transfer.py Wed Feb 07 09:32:39 2024 +0100 @@ -109,7 +109,7 @@ remote_job = ob.transfers.send_async(target_peer='a', resources_ids=all_studies_ids, resource_type=ResourceType.STUDY, - compress=True) + compress=compression) job = oa.jobs.get(orthanc_id=remote_job.remote_job_id) job.wait_completed(polling_interval=0.1) diff -r 9f867dc595e2 -r 75dbc81d0e26 NewTests/README --- a/NewTests/README Tue Feb 06 16:20:40 2024 +0100 +++ b/NewTests/README Wed Feb 07 09:32:39 2024 +0100 @@ -167,7 +167,7 @@ with Docker: -python3 NewTests/main.py --pattern=Concurrency.test_concurrency.TestConcurrency.* \ +python3 NewTests/main.py --pattern=Concurrency.* \ --orthanc_under_tests_docker_image=orthancteam/orthanc:current \ --orthanc_under_tests_http_port=8043