Skip to content

Commit

Permalink
Nd 137 (#334)
Browse files Browse the repository at this point in the history
* removed unclean init of tests within make file, and made the process of starting tests cleaner

* add back in wait for file check within docker-compose

* Added back in wait for file check (Within docker-compose), to check if dhcp-primary is running before running the tests.
  • Loading branch information
jamesgreen-moj authored Apr 8, 2024
1 parent 9c156e8 commit 673dda7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ services:
ports:
- 67:67/udp
- 8000:8000
healthcheck:
test: bash -c "[ -f /tmp/kea_started ]"
timeout: 20s
retries: 10
volumes:
- $HOME/.aws/credentials:/root/.aws/credentials:ro
- ./dhcp-service/metrics/:/metrics
Expand Down Expand Up @@ -89,7 +93,7 @@ services:
db:
condition: service_healthy
dhcp-primary:
condition: service_started
condition: service_healthy
ports:
- 68:68/udp
volumes:
Expand Down

0 comments on commit 673dda7

Please sign in to comment.