-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
108 lines (97 loc) · 2.41 KB
/
docker-compose.test.yml
File metadata and controls
108 lines (97 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
x-clockping-test-image: &clockping-test-image
image: clockping-test:latest
services:
transient-tcp-target:
<<: *clockping-test-image
command:
- python3
- -u
- tests/e2e/fixtures/transient_tcp_server.py
- --port
- "8081"
- --accepts-before-down
- "2"
transient-http-target:
<<: *clockping-test-image
command:
- python3
- -u
- tests/e2e/fixtures/transient_http_server.py
- --port
- "8082"
- --accepts-before-down
- "2"
transient-icmp-target:
<<: *clockping-test-image
cap_add:
- NET_ADMIN
command:
- python3
- -u
- tests/e2e/fixtures/icmp_down_control.py
- --port
- "9090"
transient-gtp-v1u-target:
<<: *clockping-test-image
command:
- python3
- -u
- tests/e2e/fixtures/transient_gtp_echo_server.py
- --mode
- v1
- --port
- "2152"
- --responses-before-down
- "2"
transient-gtp-v1c-target:
<<: *clockping-test-image
command:
- python3
- -u
- tests/e2e/fixtures/transient_gtp_echo_server.py
- --mode
- v1
- --port
- "2123"
- --responses-before-down
- "2"
transient-gtp-v2c-target:
<<: *clockping-test-image
command:
- python3
- -u
- tests/e2e/fixtures/transient_gtp_echo_server.py
- --mode
- v2
- --port
- "2123"
- --responses-before-down
- "2"
tcp-target:
<<: *clockping-test-image
command: ["python3", "-u", "-m", "http.server", "8080", "--bind", "0.0.0.0"]
gtp-v1u-target:
<<: *clockping-test-image
command: ["python3", "-u", "tests/e2e/fixtures/gtp_echo_server.py", "--mode", "v1", "--port", "2152"]
gtp-v1c-target:
<<: *clockping-test-image
command: ["python3", "-u", "tests/e2e/fixtures/gtp_echo_server.py", "--mode", "v1", "--port", "2123"]
gtp-v2c-target:
<<: *clockping-test-image
command: ["python3", "-u", "tests/e2e/fixtures/gtp_echo_server.py", "--mode", "v2", "--port", "2123"]
sut:
<<: *clockping-test-image
build:
context: .
target: e2e-test
depends_on:
- transient-tcp-target
- transient-http-target
- transient-icmp-target
- transient-gtp-v1u-target
- transient-gtp-v1c-target
- transient-gtp-v2c-target
- tcp-target
- gtp-v1u-target
- gtp-v1c-target
- gtp-v2c-target