annotate NewTests/Concurrency/docker-compose-transfers-concurrency.yml @ 725:90dfc48b89a7 find-refactoring

increased transfer timeout
author Alain Mazy <am@orthanc.team>
date Fri, 18 Oct 2024 10:40:36 +0200
parents 765446710507
children c5c49f92554e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
d88b0fc15f08 change ports
Alain Mazy <am@osimis.io>
parents: 601
diff changeset
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:
724
765446710507 debug tests
Alain Mazy <am@orthanc.team>
parents: 622
diff changeset
12 VERBOSE_ENABLED: "true"
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
13 TRANSFERS_PLUGIN_ENABLED: "true"
725
90dfc48b89a7 increased transfer timeout
Alain Mazy <am@orthanc.team>
parents: 724
diff changeset
14 # increase this timeout for large transfers
90dfc48b89a7 increased transfer timeout
Alain Mazy <am@orthanc.team>
parents: 724
diff changeset
15 ORTHANC__TRANSFERS__PEER_CONNECTIVITY_TIMEOUT: "10"
622
75dbc81d0e26 fix concurrency transfer tests
Alain Mazy <am@osimis.io>
parents: 617
diff changeset
16 # disable DICOMWEB to avoid the metadata cache to consume disk space after StableStudy -> difficult to compare disk sizes
75dbc81d0e26 fix concurrency transfer tests
Alain Mazy <am@osimis.io>
parents: 617
diff changeset
17 DICOM_WEB_PLUGIN_ENABLED: "false"
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
18 ORTHANC__POSTGRESQL: |
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
19 {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
20 "Host": "pg-a",
617
Alain Mazy <am@osimis.io>
parents: 616
diff changeset
21 "TransactionMode": "ReadCommitted"
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
22 }
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
23 ORTHANC__AUTHENTICATION_ENABLED: "false"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
24 ORTHANC__ORTHANC_PEERS: |
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
25 {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
26 "a": {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
27 "Url": "http://orthanc-pg-a:8042/",
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
28 "RemoteSelf": "b"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
29 },
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
30 "b": {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
31 "Url": "http://orthanc-pg-b:8042/"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
32 }
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
33 }
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
34 ORTHANC__OVERWRITE_INSTANCES: "true"
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-pg-b:
616
a5882a40ccb6 rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents: 602
diff changeset
37 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
38 container_name: orthanc-pg-b
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
39 depends_on: [pg-b]
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
40 restart: unless-stopped
602
d88b0fc15f08 change ports
Alain Mazy <am@osimis.io>
parents: 601
diff changeset
41 ports: ["8063:8042"]
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
42 volumes: ["storage-orthanc-b:/var/lib/orthanc/db"]
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
43 environment:
724
765446710507 debug tests
Alain Mazy <am@orthanc.team>
parents: 622
diff changeset
44 VERBOSE_ENABLED: "true"
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
45 TRANSFERS_PLUGIN_ENABLED: "true"
725
90dfc48b89a7 increased transfer timeout
Alain Mazy <am@orthanc.team>
parents: 724
diff changeset
46 # increase this timeout for large transfers
90dfc48b89a7 increased transfer timeout
Alain Mazy <am@orthanc.team>
parents: 724
diff changeset
47 ORTHANC__TRANSFERS__PEER_CONNECTIVITY_TIMEOUT: "10"
622
75dbc81d0e26 fix concurrency transfer tests
Alain Mazy <am@osimis.io>
parents: 617
diff changeset
48 DICOM_WEB_PLUGIN_ENABLED: "false"
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
49 ORTHANC__POSTGRESQL: |
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
50 {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
51 "Host": "pg-b",
617
Alain Mazy <am@osimis.io>
parents: 616
diff changeset
52 "TransactionMode": "ReadCommitted"
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
53 }
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
54 ORTHANC__AUTHENTICATION_ENABLED: "false"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
55 ORTHANC__ORTHANC_PEERS: |
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
56 {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
57 "a": {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
58 "Url": "http://orthanc-pg-a:8042/",
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
59 "RemoteSelf": "b"
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 "b": {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
62 "Url": "http://orthanc-pg-b:8042/"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
63 }
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 ORTHANC__OVERWRITE_INSTANCES: "true"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
66
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
67 pg-a:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
68 image: postgres:15
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
69 container_name: pg-a
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
70 restart: unless-stopped
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
71 volumes:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
72 - "storage-pg-a:/var/lib/postgresql/data"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
73 environment:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
74 POSTGRES_HOST_AUTH_METHOD: "trust"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
75
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
76 pg-b:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
77 image: postgres:15
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
78 container_name: pg-b
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
79 restart: unless-stopped
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
80 volumes:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
81 - "storage-pg-b:/var/lib/postgresql/data"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
82 environment:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
83 POSTGRES_HOST_AUTH_METHOD: "trust"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
84
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
85 volumes:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
86 storage-orthanc-a:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
87 storage-orthanc-b:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
88 storage-pg-a:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
89 storage-pg-b: