Skip to content

Commit d5ef500

Browse files
Try to establish the health of the service before running tests
1 parent deb2289 commit d5ef500

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/e2e.frontend.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
env:
3939
DATABASE_URL: "postgres://postgres:unleash@localhost/unleash"
4040
UNLEASH_LICENSE: ${{ secrets.FRONTEND_TEST_LICENSE }}
41+
options: >-
42+
--health-cmd "wget --no-verbose --tries=1 --spider http://localhost:4242/health || exit 1"
43+
--health-interval 10s
44+
--health-timeout 5s
45+
--health-retries 5
4146
4247
4348
strategy:

0 commit comments

Comments
 (0)