Skip to content

Commit

Permalink
feat(test): fix uibackend healthcheck timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
paralta committed Aug 28, 2023
1 parent 3def20f commit 0444e92
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions e2e/docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ services:
source: /tmp
target: /tmp

# Note(paralta): Override uibackend healthcheck is required because if server background recalculation fails the
# recalculation interval (backgroundRecalculationInterval) will be 15min. Plus, the uibackend is currently not
# covered by end-to-end tests.
uibackend:
ports:
- "8890:8890"
healthcheck:
test: ["CMD", "nc", "-z", "127.0.0.1", "8890"]
interval: 10s
retries: 60

alpine:
image: alpine:3.18.2
command: ["sleep", "infinity"]
Expand Down

0 comments on commit 0444e92

Please sign in to comment.