Mercurial > hg > orthanc-tests
changeset 976:0c13013c7930
fix non regression perfs
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Tue, 22 Sep 2026 12:59:34 +0200 |
| parents | 901f681fd4c2 |
| children | 3448d318635c |
| files | NewTests/NonRegressionPerfs/docker-compose.yml NewTests/NonRegressionPerfs/test_non_regression_perfs.py NewTests/README |
| diffstat | 3 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/NewTests/NonRegressionPerfs/docker-compose.yml Tue Sep 22 11:17:50 2026 +0200 +++ b/NewTests/NonRegressionPerfs/docker-compose.yml Tue Sep 22 12:59:34 2026 +0200 @@ -61,6 +61,8 @@ depends_on: [orthanc-ref-db-s3] restart: unless-stopped ports: ["8242:8042"] + volumes: + - ./plugin.py:/scripts/plugin.py environment: VERBOSE_ENABLED: "true" ORTHANC__POSTGRESQL__HOST: "orthanc-ref-db-s3" @@ -69,6 +71,7 @@ "Name": "Orthanc-ref-s3", "AuthenticationEnabled": false, "OverwriteInstances": true, + "PythonScript": "/scripts/plugin.py", "AwsS3Storage": { "BucketName": "default-bucket", "Region": "eu-west-1", @@ -84,6 +87,8 @@ depends_on: [orthanc-new-db-s3] restart: unless-stopped ports: ["8243:8042"] + volumes: + - ./plugin.py:/scripts/plugin.py environment: VERBOSE_ENABLED: "true" ORTHANC__POSTGRESQL__HOST: "orthanc-new-db-s3" @@ -92,6 +97,7 @@ "Name": "Orthanc-under-tests-s3", "AuthenticationEnabled": false, "OverwriteInstances": true, + "PythonScript": "/scripts/plugin.py", "AwsS3Storage": { "BucketName": "default-bucket", "Region": "eu-west-1",
--- a/NewTests/NonRegressionPerfs/test_non_regression_perfs.py Tue Sep 22 11:17:50 2026 +0200 +++ b/NewTests/NonRegressionPerfs/test_non_regression_perfs.py Tue Sep 22 12:59:34 2026 +0200 @@ -142,7 +142,7 @@ print(f"{'-'*129}") self.measure(test_name="populate 3000 instances with 5 workers", - perform_test=lambda o: OrthancTestDbPopulator(o, studies_count=50, series_count=3, instances_count=120, random_seed=65, worker_threads_count=5).execute(), + perform_test=lambda o: OrthancTestDbPopulator(o, studies_count=5, series_count=3, instances_count=200, random_seed=65, worker_threads_count=5).execute(), reapeat_count=1, test_configs=test_configs, test_results=test_results)
--- a/NewTests/README Tue Sep 22 11:17:50 2026 +0200 +++ b/NewTests/README Tue Sep 22 12:59:34 2026 +0200 @@ -290,6 +290,6 @@ with Docker: python3 NewTests/main.py --pattern=NonRegressionPerfs.test_non_regression_perfs.TestNonRegressionPerfs.* \ - --orthanc_under_tests_docker_image=orthancteam/orthanc-pre-release:master-unstable \ + --orthanc_under_tests_docker_image=orthancteam/orthanc-pre-release:master-normal-stable-before-tests-amd64 \ --orthanc_under_tests_http_port=8043
