We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35501db commit 0fb586eCopy full SHA for 0fb586e
integration/docker-compose.yml
@@ -7,12 +7,22 @@ services:
7
- ..:/code
8
command: go test -v -race
9
working_dir: /code/integration
10
+ depends_on:
11
+ activemq:
12
+ condition: service_healthy
13
environment:
14
- MQTT_HOSTS=activemq emqx hivemq mosquitto rumqttd vernemq
15
16
activemq:
17
image: apache/activemq-artemis:2.39.0
18
mem_limit: 500m
19
+ # TCP "connection refused" error before HTTP service
20
+ healthcheck:
21
+ test: ["CMD", "curl", "http://localhost:8161"]
22
+ interval: 2s
23
+ timeout: 1s
24
+ retries: 10
25
+
26
emqx:
27
image: emqx/emqx:5.7.2
28
0 commit comments