Mercurial > hg > orthanc-tests
annotate NewTests/Concurrency/docker-compose-transfers-concurrency.yml @ 736:bf6eef8b6abf find-refactoring tip
fix transfer tests
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 05 Nov 2024 12:12:43 +0100 |
parents | 4afac6cc00a5 |
children |
rev | line source |
---|---|
601
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
1 version: "3" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
2 services: |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
3 |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
4 orthanc-pg-a: |
616
a5882a40ccb6
rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents:
602
diff
changeset
|
5 image: ${ORTHANC_IMAGE_UNDER_TESTS:-orthancteam/orthanc:latest} |
601
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
6 container_name: orthanc-pg-a |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
7 depends_on: [pg-a] |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
8 restart: unless-stopped |
602 | 9 ports: ["8062:8042"] |
601
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
10 volumes: ["storage-orthanc-a:/var/lib/orthanc/db"] |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
11 environment: |
727 | 12 VERBOSE_STARTUP: "true" |
724 | 13 VERBOSE_ENABLED: "true" |
601
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
14 TRANSFERS_PLUGIN_ENABLED: "true" |
728 | 15 # increase this timeout for large transfers (it is configured at 2sec by the default integration tests config) |
16 ORTHANC__HTTP_TIMEOUT: "60" | |
725 | 17 ORTHANC__TRANSFERS__PEER_CONNECTIVITY_TIMEOUT: "10" |
622 | 18 # disable DICOMWEB to avoid the metadata cache to consume disk space after StableStudy -> difficult to compare disk sizes |
19 DICOM_WEB_PLUGIN_ENABLED: "false" | |
601
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
20 ORTHANC__POSTGRESQL: | |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
21 { |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
22 "Host": "pg-a", |
617 | 23 "TransactionMode": "ReadCommitted" |
601
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
24 } |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
25 ORTHANC__AUTHENTICATION_ENABLED: "false" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
26 ORTHANC__ORTHANC_PEERS: | |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
27 { |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
28 "a": { |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
29 "Url": "http://orthanc-pg-a:8042/", |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
30 "RemoteSelf": "b" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
31 }, |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
32 "b": { |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
33 "Url": "http://orthanc-pg-b:8042/" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
34 } |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
35 } |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
36 ORTHANC__OVERWRITE_INSTANCES: "true" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
37 |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
38 orthanc-pg-b: |
616
a5882a40ccb6
rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents:
602
diff
changeset
|
39 image: ${ORTHANC_IMAGE_UNDER_TESTS:-orthancteam/orthanc:latest} |
601
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
40 container_name: orthanc-pg-b |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
41 depends_on: [pg-b] |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
42 restart: unless-stopped |
602 | 43 ports: ["8063:8042"] |
601
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
44 volumes: ["storage-orthanc-b:/var/lib/orthanc/db"] |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
45 environment: |
727 | 46 VERBOSE_STARTUP: "true" |
724 | 47 VERBOSE_ENABLED: "true" |
601
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
48 TRANSFERS_PLUGIN_ENABLED: "true" |
728 | 49 # increase this timeout for large transfers (it is configured at 2sec by the default integration tests config) |
50 ORTHANC__HTTP_TIMEOUT: "60" | |
725 | 51 ORTHANC__TRANSFERS__PEER_CONNECTIVITY_TIMEOUT: "10" |
622 | 52 DICOM_WEB_PLUGIN_ENABLED: "false" |
601
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
53 ORTHANC__POSTGRESQL: | |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
54 { |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
55 "Host": "pg-b", |
617 | 56 "TransactionMode": "ReadCommitted" |
601
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
57 } |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
58 ORTHANC__AUTHENTICATION_ENABLED: "false" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
59 ORTHANC__ORTHANC_PEERS: | |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
60 { |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
61 "a": { |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
62 "Url": "http://orthanc-pg-a:8042/", |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
63 "RemoteSelf": "b" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
64 }, |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
65 "b": { |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
66 "Url": "http://orthanc-pg-b:8042/" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
67 } |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
68 } |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
69 ORTHANC__OVERWRITE_INSTANCES: "true" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
70 |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
71 pg-a: |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
72 image: postgres:15 |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
73 container_name: pg-a |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
74 restart: unless-stopped |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
75 volumes: |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
76 - "storage-pg-a:/var/lib/postgresql/data" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
77 environment: |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
78 POSTGRES_HOST_AUTH_METHOD: "trust" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
79 |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
80 pg-b: |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
81 image: postgres:15 |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
82 container_name: pg-b |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
83 restart: unless-stopped |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
84 volumes: |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
85 - "storage-pg-b:/var/lib/postgresql/data" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
86 environment: |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
87 POSTGRES_HOST_AUTH_METHOD: "trust" |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
88 |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
89 volumes: |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
90 storage-orthanc-a: |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
91 storage-orthanc-b: |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
92 storage-pg-a: |
3e15e950c462
new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff
changeset
|
93 storage-pg-b: |