Skip to content

Commit fca9b37

Browse files
committed
improved health check commands
1 parent b22f17e commit fca9b37

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/full-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
image: neo4j:4.3
3636
options: >-
3737
--health-cmd "wget http://localhost:7474 || exit 1"
38+
--health-start-period "30"
39+
--health-timeout "15"
40+
--health-retries "5"
3841
ports:
3942
- 7687:7687
4043
- 7474:7474

.github/workflows/integration-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
- 7474:7474
2929
options: >-
3030
--health-cmd "wget http://localhost:7474 || exit 1"
31+
--health-start-period "30"
32+
--health-timeout "15"
33+
--health-retries "5"
3134
3235
steps:
3336
- uses: actions/checkout@v2

.github/workflows/testkit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- 7474:7474
2828
options: >-
2929
--health-cmd "wget http://localhost:7474 || exit 1"
30+
--health-start-period "30"
31+
--health-timeout "15"
32+
--health-retries "5"
3033
3134
steps:
3235
- name: Checkout driver

0 commit comments

Comments
 (0)