Skip to content

Commit

Permalink
fix(test): make docker healthcheck more permissive
Browse files Browse the repository at this point in the history
Signed-off-by: Dominic Evans <[email protected]>
  • Loading branch information
dnwe committed Jan 7, 2025
1 parent 88f7e1e commit 485e28f
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ services:
'--bootstrap-server',
'kafka-1:9091',
]
interval: 15s
timeout: 15s
interval: 30s
timeout: 30s
retries: 10
start_period: 360s
start_interval: 30s
depends_on:
- zookeeper-1
- zookeeper-2
Expand Down Expand Up @@ -103,10 +104,11 @@ services:
'--bootstrap-server',
'kafka-2:9091',
]
interval: 15s
timeout: 15s
interval: 30s
timeout: 30s
retries: 10
start_period: 360s
start_interval: 30s
depends_on:
- zookeeper-1
- zookeeper-2
Expand Down Expand Up @@ -150,10 +152,11 @@ services:
'--bootstrap-server',
'kafka-3:9091',
]
interval: 15s
timeout: 15s
interval: 30s
timeout: 30s
retries: 10
start_period: 360s
start_interval: 30s
depends_on:
- zookeeper-1
- zookeeper-2
Expand Down Expand Up @@ -197,10 +200,11 @@ services:
'--bootstrap-server',
'kafka-4:9091',
]
interval: 15s
timeout: 15s
interval: 30s
timeout: 30s
retries: 10
start_period: 360s
start_interval: 30s
depends_on:
- zookeeper-1
- zookeeper-2
Expand Down Expand Up @@ -244,10 +248,11 @@ services:
'--bootstrap-server',
'kafka-5:9091',
]
interval: 15s
timeout: 15s
interval: 30s
timeout: 30s
retries: 10
start_period: 360s
start_interval: 30s
depends_on:
- zookeeper-1
- zookeeper-2
Expand Down Expand Up @@ -279,10 +284,11 @@ services:
init: true
healthcheck:
test: ['CMD', '/toxiproxy-cli', 'l']
interval: 15s
timeout: 15s
interval: 30s
timeout: 30s
retries: 3
start_period: 30s
start_period: 60s
start_interval: 5s
ports:
# The tests themselves actually start the proxies on these ports
- '29091:29091'
Expand Down

0 comments on commit 485e28f

Please sign in to comment.